Ubuntu Error: libcublas.so.8.0 [How to Solve]

Error reporting when using Yolo in QT program:

./conjugateGradientPrecond: error while loading shared libraries: libcublas.so.8.0: cannot open shared object file: No such file or directory

solution:
first find libcublas. So. 8.0   Where is this file?It’s on my system ubuntu16.04. Where is the file  /Usr/local/cuda-8.0/lib64 /
then:

sudo gedit  /etc/ld.so.conf.d/cuda.conf

Add directory to document

 /usr/local/cuda-8.0/lib64/   

When finished, then:

sudo ldconfig
``` 
Remember to always use sudo, unless you are under root.

 

Similar Posts: