sudo ldconfig error

来源:互联网 发布:泛型编程与stl 编辑:程序博客网 时间:2024/05/18 04:13

When I type in sudo ldconfig, the system show me such error:

/sbin/ldconfig.real: /usr/local/lib/libcudart.so.6.5 is not a symbolic link


/sbin/ldconfig.real: /usr/local/lib/libcudnn.so.6.5 is not a symbolic link

my solution for this: rename the  /usr/local/lib/libcudart.so.6.5 to  /usr/local/lib/libcudart.so.6.5.copy,  /usr/local/lib/libcudart.so.6.5 to /usr/local/lib/libcudart.so.6.5.copy.

This because the  symbolic link of the above two libs has been defined in the /usr/local/cuda-6.5/lib64, so there a duplication occurs in /user/local/lib

0 0
原创粉丝点击