问题:./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