caffe + anaconda2 重新编译后出现问题

1、/usr/lib/x86_64-linux-gnu/libunwind.so.8: undefined reference to `lzma_index_size@XZ_5.0

在~/.bashrc的末尾加上,然后重启(source ~/.bashrc).
export LD_LIBRARY_PATH=”/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH”

cd /usr/lib/x86_64-linux-gnu
sudo ln -s ~/anaconda/lib/libpng16.so.16 libpng16.so.16
sudo ldconfig

3、.build_release/test/…:error while loading shared libraries:libhdf5_hl.so.8:cannot

cd /usr/lib/x86_64-linux-gnu
sudo ln -s libhdf5.so.7 libhdf5.so.8
sudo ln -s libhdf5_hl.so.7 libhdf5_hl.so.8
sudo ldconfig

你可能感兴趣的:(linux,DNN)