caffe安装好后lib没有配置到/usr/lib或/usr/local/lib中,需手动配置:
sudo vim ~/.bashrc
export LD_LIBRARY_PATH=your_path/caffe/.build_release/lib:$LD_LIBRARY_PATH
source ~/.bashrc
或者更加简单粗暴的方式,直接将build目录下的lib拷贝到/usr/lib
caffe安装好后lib没有配置到/usr/lib或/usr/local/lib中,需手动配置:
sudo vim ~/.bashrc
export LD_LIBRARY_PATH=your_path/caffe/.build_release/lib:$LD_LIBRARY_PATH
source ~/.bashrc
或者更加简单粗暴的方式,直接将build目录下的lib拷贝到/usr/lib