下面方法好使,我是7.3.1没有做软链接。
当出现/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