欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

error while loading shared libraries: libcudart.so.9.0: cannot open shared object file: No such file

程序员文章站 2024-02-21 23:25:22
...

error while loading shared libraries: libcudart.so.9.0: cannot open shared object file: No such file

解决方案:

    sudo cp /usr/local/cuda-9.0/lib64/libcudart.so.9.0 /usr/local/lib/libcudart.so.9.0 && sudo ldconfig 
    sudo cp /usr/local/cuda-9.0/lib64/libcublas.so.9.0 /usr/local/lib/libcublas.so.9.0 && sudo ldconfig 
    sudo cp /usr/local/cuda-9.0/lib64/libcurand.so.9.0 /usr/local/lib/libcurand.so.9.0 && sudo ldconfig

error while loading shared libraries: libcudnn.so.7: cannot open shared object file: No such file or directory.

**
解决方案:

sudo cp /usr/local/cuda/lib64/libcudnn.so.5 /usr/local/lib/libcudnn.so.5 
sudo ldconfig
相关标签: darknet