libcudart.so.2 cannot open shared object file: No such file or directory

Ok I don’t have SELinux and I have placed the below in my bashrc of the users home directory that has the CUDA softwar installed. So what have I missed? So if my path is wrong how do I judge what the right one is?
export PATH=/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib
$LD_LIBRARY_PATH

Thanks,
Jason

try

locate libcudart.so

I just add that to my .bashrc correct. It’s kind of odd that it can’t find it because it’s located where it should be. I’m anxious to try it but I have to wait till tomorrow to try it :(

No you run it and it will tell you where/if the cuda libraries you seem to be having an inordinately difficult time getting to work are located. You can use the results to set the environment variables you need correctly.