"Libcudnn.so.5 cannot open shared object File:no such file or directory"

Source: Internet
Author: User
"libcudart.so.8.0 cannot open shared object File:no such file or directory" the solution is to copy some files to the/usr/local/lib folder: #注意自己CUDA的版本 No. sudo cp/usr/local/cuda-8.0/lib64/libcudart.so.8.0/usr/local/lib/libcudart.so.8.0 && sudo ldconfig sudo cp/ usr/local/cuda-8.0/lib64/libcublas.so.8.0/usr/local/lib/libcublas.so.8.0 && sudo ldconfig

sudo cp/usr/local/cuda-8.0/lib64/libcurand.so.8.0/usr/local/lib/libcurand.so.8.0 && sudo ldconfig


Similar to the method above

I'm not using any soft connections.

Direct simple rudeness;

sudo cp/usr/local/cuda-8.0/lib64/libcudnn.so/usr/local/lib/libcudnn.so && sudo ldconfig sudo cp/usr/local/ cuda-8.0/lib64/libcudnn.so.5/usr/local/lib/libcudnn.so.5 && sudo ldconfig

sudo cp/usr/local/cuda-8.0/lib64/libcudnn.so.5.1.5/usr/local/lib/libcudnn.so.5.1.5 && sudo ldconfig


***********************************************************

Oserror:libcudnn.so.7.0:cannot Open Shared object file:no such file or directory error

Because Cuda's path might be set incorrectly.

sudo ldconfig/usr/local/cuda/lib64

Tell you a shocking news, for this mistake I re-installed the system 6 times, Time: one weeks ... Finally succeeded, burst into tears, commemorates the next Friday.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.