解决调用caffe的c++程序运行时报错: ./netapp.bin: error while loading shared libraries: libcaffe.so.1.0.0: cannot open shared object file: No such file or directory

caffe安装好后lib没有配置到/usr/lib或/usr/local/lib中,需手动配置:

 export LD_LIBRARY_PATH=/path_to_your_caffe/build/lib/:$LD_LIBRARY_PATH

 https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/148

猜你喜欢

转载自www.cnblogs.com/zealousness/p/9572062.html