FastDeploy: ./infer_demo: error while loading shared libraries: libpaddle2onnx.so.1.0.1: cannot open shared object file: No such file or directory
platform:wsl2 Ubuntu20.0.4 python3.9 onnx==1.12.0 安装方式 pip install fastdeploy-python -f https://www.paddlepaddle.org.cn/whl/fastdeploy.html
步骤参考文档:FastDeploy-develop\examples\vision\detection\yolov7\cpp\README.md
步骤一切顺利,但是推理时报错
(base) root@computer:/mnt/c/Users/Administrator/projects/FastDeploy-develop/fastdeploy-linux-x64-0.6.0/examples/vision/detection/yolov7/cpp/build# ./infer_demo yolov7.onnx 000000014439.jpg 2 ./infer_demo: error while loading shared libraries: libpaddle2onnx.so.1.0.1: cannot open shared object file: No such file or directory
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17
这个版本的:fastdeploy-linux-x64-1.0.0 测试成功 依次执行以下命令即可 source fastdeploy-linux-x64-1.0.0/fastdeploy_init.sh cmake … -DFASTDEPLOY_INSTALL_DIR=${PWD}/fastdeploy-linux-x64-1.0.0 make -j