CuDNN issues while compiling opencv from source

Hi there, I’ve been trying to compile opencv from source with cuda and CuDNN support, i was following the tutorial, : Compiling OpenCV from Source | OpenCV | RidgeRun, I have successfully compiled for the Jetson Nano. but I find it particularly troublesome for the Jetson Xavier Nx.

While running the make -j6 command, I get various verbose outputs during the make process, which are related to the symbolic links of the cudnn.

While checking the sudo ldconfig I get the following output:

/sbin/ldconfig.real: /usr/local/cuda-10.2/targets/aarch64-linux/lib/libcudnn_adv_infer.so.8 is not a symbolic link

/sbin/ldconfig.real: /usr/local/cuda-10.2/targets/aarch64-linux/lib/libcudnn_adv_train.so.8 is not a symbolic link

/sbin/ldconfig.real: /usr/local/cuda-10.2/targets/aarch64-linux/lib/libcudnn.so.8 is not a symbolic link

/sbin/ldconfig.real: /usr/local/cuda-10.2/targets/aarch64-linux/lib/libcudnn_cnn_infer.so.8 is not a symbolic link

/sbin/ldconfig.real: /usr/local/cuda-10.2/targets/aarch64-linux/lib/libcudnn_cnn_train.so.8 is not a symbolic link

/sbin/ldconfig.real: /usr/local/cuda-10.2/targets/aarch64-linux/lib/libcudnn_ops_train.so.8 is not a symbolic link

/sbin/ldconfig.real: /usr/local/cuda-10.2/targets/aarch64-linux/lib/libcudnn_ops_infer.so.8 is not a symbolic link

How can I solve this issue?

Hi,

Could you give the below script a try?

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.