Hello, I have been studying this thread ( https://devtalk.nvidia.com/default/topic/827737/system-with-cuda-7-installed-giving-error-for-libcudart-so-6-5/ ) but I so far cannot fix my own situation based off of what is written there.
I am on Ubuntu 16.04 and am using CUDA 8. I am attempting to make Caffe. Following their instructions I run:
Everything works quite fine until the runtest, where I get the following error:
user@cuda:~/caffe-master$ make runtest -j $(($(nproc) + 1)) .build_release/tools/caffe .build_release/tools/caffe: error while loading shared libraries: libcudart.so.8.0: cannot open shared object file: No such file or directory Makefile:523: recipe for target 'runtest' failed make: *** [runtest] Error 127
I have located the missing library:
user@cuda:~/caffe-master$ ls /usr/local/cuda/lib64 | grep libcudart libcudart.so libcudart.so.8.0 libcudart.so.8.0.27 libcudart_static.a
I have the following in my .profile:
PATH="$PATH:/usr/local/cuda/bin";export PATH LD_LIBRARY_PATH="/usr/local/cuda/lib64"
The output of nvcc --version is:
user@cuda:~/caffe-master$ nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2016 NVIDIA Corporation Built on Wed_May__4_21:01:56_CDT_2016 Cuda compilation tools, release 8.0, V8.0.26
I don’t understand why I am getting this error given the information above. I might be missing something trivial. Either way I would greatly appreciate some guidance if anyone has an idea of what the issue is here. Have been banging my head against the wall for a while now.