Skip to content

Instantly share code, notes, and snippets.

@MittalShruti
Last active May 10, 2020 09:22
Show Gist options
  • Save MittalShruti/d563b8437b35100a9df722d8a48d8e53 to your computer and use it in GitHub Desktop.
Save MittalShruti/d563b8437b35100a9df722d8a48d8e53 to your computer and use it in GitHub Desktop.
libcudnn.so error
# move to the lib64 directory
cd /usr/local
cd cuda
cd lib64
# check if there are any symlinks
ls -lha libcudnn*
sudo rm libcudnn.so
sudo rm libcudnn.so.7
# create symlink
sudo ln libcudnn.so.7.6.5 libcudnn.so.7
sudo ln libcudnn.so.7 libcudnn.so
#check if there's still any error
sudo ldconfig
ls -lha libcudnn*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment