I have installed cuda-10.2 + cuDNN-8.0.1.3 according to the instructions form the official webiste.
After installation. I am able to run samples for both Cuda and cudDNN.
But when I do the sudo ldconfig
or ldconfig
it always shows the following error.
sbin/ldconfig.real: /usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn.so.8 is not a symbolic link
/sbin/ldconfig.real: /usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_cnn_infer.so.8 is not a symbolic link
/sbin/ldconfig.real: /usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_ops_infer.so.8 is not a symbolic link
/sbin/ldconfig.real: /usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_adv_infer.so.8 is not a symbolic link
/sbin/ldconfig.real: /usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_ops_train.so.8 is not a symbolic link
/sbin/ldconfig.real: /usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_adv_train.so.8 is not a symbolic link
/sbin/ldconfig.real: /usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_cnn_train.so.8 is not a symbolic link
/sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
What is the possible reason? How to resolve this issue? This issue also causes a lot of errors during installation of caffe and other projects. Another issue is cudnn version information is moved to cudnn_version.h file, so some other projects MobileNet-Yolov3
and even Caffe installation who are already reading version information from cudnn.h unfortunately they do not get the cudnn information and throw errors. I have spent two days just resolving this issue.