完美解决错误:libhdf5_hl.so.100(XXX): cannot open shared object file: No such file or directory,Error127
sudo make runtest -j16
报错
.build_release/tools/caffe .build_release/tools/caffe: error while loading shared libraries: libhdf5_hl.so.100: cannot open shared object file: No such file or directory Makefile:545: recipe for target 'runtest' failed make: *** [runtest] Error 127
解决方案
cd
/etc/ld.so.conf.d/
touch anaconda3.conf
sudo vim anaconda3.conf //打开文件 输入以下内容: /home/user/anaconda3/lib
sudo ldconfig