error while loading shared libraries: libcudart.so.9.1:cannot open shared object file: No such file
程序员文章站
2022-03-11 08:29:10
...
在实现YOLO目标检测时,出现如下错误:
error while loading shared libraries: libcudart.so.9.1:cannot open shared object file: No such file
解决方法:
执行:
sudo gedit /etc/profile
末尾添加:
PATH=/usr/local/cuda/bin:$PATH
export PATH
执行:
sudo vim /etc/ld.so.conf.d/cuda.conf
末尾添加:
/usr/local/cuda/lib64
最后:
sudo ldconfig
推荐阅读
-
解决启动MongoDB错误:error while loading shared libraries: libstdc++.so.6:cannot open shared object file:
-
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
-
error while loading shared libraries: xxx: cannot open shared object file: No such file or directory
-
Oracle执行netca命令报cannot open shared object file: No such file or directory