问题解决

在caffe文件夹目录里面,安装好了anaconda3的纯cpucaffe,test时除了如下问题,我检查了link,没问题,于是

/usr/bin/ld: warning: libhdf5_hl.so.100, needed by .build_release/lib/libcaffe.so, not found (try using -rpath or -rpath-link)

以及相似的

/usr/bin/ld: warning: libhdf5_hl.so.101, needed by .build_release/lib/libcaffe.so, not found (try using -rpath or -rpath-link)

解决方法

http://blog.csdn.net/dou3516/article/details/78210795

但是注意,这个命令全是错的,缺少空格

sudo cp -s $HOME/anaconda2/lib/libhdf5_hl.so.100.0.1 /usr/lib/libhdf5_hl.so.100

sudo cp -s $HOME/anaconda2/lib/libhdf5_hl.so.100.0.1 /usr/lib/x86_64-linux-gnu/libhdf5_hl.so.100

sudo cp -s $HOME/anaconda2/lib/libhdf5.so.101.0.0 /usr/lib/libhdf5.so.101

sudo cp -s $HOME/anaconda2/lib/libhdf5.so.101.0.0  /usr/lib/x86_64-linux-gnu/libhdf5.so.101

那么问问题来了,都是一样的步骤,我机子也不是偷的,凭什么我就这么多乱七八糟不知道原因的问题,看脸吗。。。。特别郁闷

posted @ 2018-03-12 20:21  甜豆儿  阅读(712)  评论(0编辑  收藏  举报