When I try to run a cuda program, I get import error for libcudart.so.9.0
when I ran locate libcudart.so , I get
/usr/local/cuda-9.0/doc/man/man7/libcudart.so.7
/usr/local/cuda-9.0/lib64/libcudart.so
/usr/local/cuda-9.0/lib64/libcudart.so.9.0
/usr/local/cuda-9.0/lib64/libcudart.so.9.0.176
/usr/share/man/man7/libcudart.so.7
I checked my paths and updated them as below. The error still occurs.
$ echo $PATH
/home/ash/bin:/home/ash/.local/bin:/home/ash/bin:/home/ash/.local/bin:/usr/local/sbin:/snap/bin:/usr/local/cuda-9.0/bin
$ echo $LD_LIBRARY_PATH
/usr/local/cuda-9.0/lib64
I am using cuda-9.0 on ubuntu-16.04. I installed it with
sudo apt-get install cuda-9.0
Is there any problem with my installation?