Friday, 6 February 2015

ubuntu can't find shared library libcudart.so.5.0, but the file is there topic






hi, I am learning programming in cuda. So I installed cuda toolkit 5.0 on my Ubuntu 12.04 64bit. And I tried running some cuda sample programs a few days ago, they were running smoothly. Until today, the computer suddenly complains :" error while loading shared libraries: libcudart.so.5.0: cannot open shared object file: No such file or directory"
But I checked the folder where the shared object file is supposed to be, it is still there! Please see the picture that I uploaded.

So will anyone tell me how I can have the computer "see" the shared object file?
PS: I can go around the problem by making a copy of the libcudart.so.5.0 file in the folder where the executable file is located. But it's not the best way to go.....











Attached Images












No comments:

Post a Comment