/root/NVIDIA_CUDA_SDK/bin/linux/release/myproject: error while loading shared libraries: libcudart.so.2: cannot open shared object file: No such file or directory
I’ve followed the release instructions and revised previous comments in this forum. I tried add
/usr/local/cuda/lib to /etc/ld.so.conf, but it doesn’t work.
If some one have any suggestion, please send me it.
After you added /usr/local/cuda/lib to /etc/ld.so.conf, did you run ldconfig? Also, make sure you have SELinux off, because SELinux basically ruins everything.
I am having this exact same problem, however after disabling SE linux and running ldconfig, i am still having the same problem. I disabled SE linux through the SELinux administration application under Fedora 10 KDE. EDIT: This was resolved, I had the LD_LIBRARY_PATH misspelled.