1. There are three solutions on the Internet:
1) this is GitHub’s solution. Link: https://github.com/tensorflow/tensorflow/issues/5343
It can be seen that this method is still effective
2) execution order:
1 sudo ldconfig /usr/local/cuda/lib64
This feeling is ok too
3) if the above two methods are still unsolved, try the following:
The main reason for this kind of problem is that libcudart. So. 8.0 can’t be found in/usr/local/lib/directory, which can be found in usr/local/cuda-8.0/lib64/directory. Therefore, we copy libcudart. So. 8.0 through the following command. Remember to add sudo permission, otherwise it may not be copied
execute command:
1 sudo cp /usr/local/cuda-8.0/lib64/libcudart.so.8.0 /usr/local/lib/libcudart.so.8.0 && sudo ldconfig
This is where there will also be.
./build/tools/caffe: error while loading shared libraries: libcublas.so.8.0: cannot open shared object file: can not open shared object file: No such file or directory
./build/tools/caffe: error while loading shared libraries: libcurand.so.8.0: cannot open shared object file: can not open shared object file: No such file or directory
./build/tools/caffe: error while loading shared libraries: libcudnn.so.6: cannot open shared object file: can not open shared object file: No such file or directory
The corresponding name marked in yellow in the command can be changed
Execution is complete and there are no more errors!!!
Similar Posts:
- Ubuntu Error: libcublas.so.8.0 [How to Solve]
- ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory
- [Solved] Emqx – /usr/lib/emqx/bin/cuttlefish: error while loading shared libraries: libtinfo.so.5: cannot ope
- [Solved] php -v Error: error while loading shared libraries: libonig.so.5:cannot open share directory
- [Solved] Error logging into mysql under ARM64 architecture: mysql: error while loading shared libraries: libncurses.so.5: cannot open share…
- When ffmpeg is used to push streaming, there may be an error: unknown encoder ‘libx264’
- zlib.h:no such file or directory
- ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory [Solved]
- Compilation of SSE/AVX/FMA instruction set in tensorflow CPU environment
- [Solved] Shared libraries Loading Error: libhwloc.so.5: cannot open shared object file: No such file or directory