Could not dlopen library 'libcublas.so.10.0'这一类的错误

版本:tensorflow 1.14.0, cuda 10

报错如下: 

 Could not dlopen library 'libcublas.so.10.0'; dlerror: libcublas.so.10.0: can not open shared object file: No such file or directory
2019-07-31 15:42:51.951206: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcufft.so.10.0'; dlerror: libcufft.so.10.0: canno             t open shared object file: No such file or directory
2019-07-31 15:42:51.951320: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcurand.so.10.0'; dlerror: libcurand.so.10.0: can             not open shared object file: No such file or directory
2019-07-31 15:42:51.951429: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcusolver.so.10.0'; dlerror: libcusolver.so.10.0:              cannot open shared object file: No such file or directory
2019-07-31 15:42:51.951535: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcusparse.so.10.0'; dlerror: libcusparse.so.10.0:              cannot open shared object file: No such file or directory

 

sudo cp /usr/local/cuda-10.0/lib64/libcublas.so.10.0 /usr/local/lib/libcublas.so.10.0 && sudo ldconfig
sudo cp /usr/local/cuda-10.0/lib64/libcufft.so.10.0 /usr/local/lib/libcufft.so.10.0 && sudo ldconfig
...

按照上述命令把这些不能找到的文件copy到/usr/local/lib/

你可能感兴趣的:(深度学习,环境配置)