wget http://developer.download.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.243_418.87.00_linux.run
sudo sh cuda_10.1.243_418.87.00_linux.run
sudo ldconfig -v
sudo ln -sf /usr/local/cuda/lib64/libcudnn.so.7.5.1 /usr/local/cuda/lib64/libcudnn.so.7
libcudnn.so.7 is not a symbolic link
2018.10.08 09:28:40字数 97阅读 1964
当出现/sbin/ldconfig.real: /usr/local/cuda/lib64/libcudnn.so.7 is not a symbolic link
错误时,如upgrade出现错误:
upgrade error.png
- check the link:
sudo ldconfig -v
sudo ldconfig -v.png
-
Find the error:
/usr/local/cuda/lib64/libcudnn.so.7 is not a symbolic link
libcudnn.so.7 -> libcudnn.so.7.0.5 -
Create the new link manually:
sudo ln -sf /usr/local/cuda/lib64/libcudnn.so.7.0.5 /usr/local/cuda/lib64/libcudnn.so.7
参考:libcudnn.so.7 is not a symbolic link