libcudart.so.9.2: cannot open shared object file: No such file or directory
程序员文章站
2022-07-15 16:49:14
...
解决办法:
配置环境变量:
export LD_LIBRARY_PATH=/usr/local/cuda-9.2/lib64:$LD_LIBRARY_PATH
export PATH=/usr/local/cuda-9.2/bin:$PATH
加入到 ~/.bashrc
执行source ~/.bashrc
执行:sudo ldconfig /usr/local/cuda/lib64
推荐阅读
-
解决启动MongoDB错误:error while loading shared libraries: libstdc++.so.6:cannot open shared object file:
-
linux系统安装VMware(详细解决"Cannot open /dev/vmmon: No such file or directory"问题)
-
mdadm: cannot open /dev/sdb: No such file or directory
-
Tensorflow:ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
-
libiconv.so.2 cannot open shared object file: No such file or directory
-
libmatio.so.2: cannot open shared object file: No such file or directory
-
libevent-2.0.so.5: cannot open shared object file: No such file or directory
-
报错:libmysqlclient.so.18: cannot open shared object file: No such file or directory.
-
libcudart.so.9.2: cannot open shared object file: No such file or directory
-
解决error while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file