天天看點

caffe模型生成lmdb報錯:libhdf5_hl.so.100:cannot open shared object file: No such file or directory

生成lmdb檔案時報錯:

caffe模型生成lmdb報錯:libhdf5_hl.so.100:cannot open shared object file: No such file or directory

解決方法:

caffe模型生成lmdb報錯:libhdf5_hl.so.100:cannot open shared object file: No such file or directory

對應我使用的環境,lib路徑為:

/usr/lib/x86_64-linux-gnu
           
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/yanghuiyu/.pyenv/versions/anaconda2-5.3.1/lib" >> ~/.bashrc
           
sudo ldconfig
           

重點參考:https://github.com/tiangolo/caffe/blob/e12f3e4c565f68111bdbab396f7b256ac57de4f5/docs/install_apt2.md

其他:

https://blog.csdn.net/ycz28/article/details/53383188

https://stackoverflow.com/questions/19742005/bashrc-permission-denied

https://unix.stackexchange.com/questions/154888/bash-etc-bash-bashrc-permission-denied-whenever-i-open-a-terminal