centos: error while loading shared libraries: libcudart.so.8.0

前端之家收集整理的这篇文章主要介绍了centos: error while loading shared libraries: libcudart.so.8.0前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

问题:./XXXXXXX: error while loading shared libraries: libcudart.so.8.0: cannot open shared object file: No such file or directory

解决方法

sudo cp /usr/local/cuda-8.0/lib64/libcudart.so.8.0 /usr/lib/libcudart.so.8.0
sudo ldconfig


不成功,但可选的解决办法:

sudo cp /usr/local/cuda-8.0/lib64/libcudart.so.8.0 /usr/local/lib/libcudart.so.8.0 && sudo ldconfig

sudo ldconfig

猜你在找的CentOS相关文章