完美解決錯誤: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