完美解决错误: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
 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM