Problem running samples Ubuntu 7.10

Using Ubuntu 7.10 (Gutsy Gibbon) 64-bit with CUDA 1.1 x86-64 (downloaded 6/12/07) SDK and toolkit for Ubuntu 7.04
I can run make without issues but when I try to execute a sample (e.g. template) I get problems:

bob@alice:~/NVIDIA_CUDA_SDK/bin/linux/release$ ./oceanFFT
./oceanFFT: error while loading shared libraries: libcudart.so: cannot open shared object file: No such file or directory
bob@alice:~/NVIDIA_CUDA_SDK/bin/linux/release$ ./template
./template: error while loading shared libraries: libcudart.so: cannot open shared object file: No such file or directory
bob@alice:~/NVIDIA_CUDA_SDK/bin/linux/release$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/cuda/bin:/usr/local/cuda/lib:/usr/local/flex2_sdk_hf1/bin
bob@alice:~/NVIDIA_CUDA_SDK/bin/linux/release$ echo $LD_LIBRARY_PATH
/usr/local/cuda/lib
bob@alice:~/NVIDIA_CUDA_SDK/bin/linux/release$ ls /usr/local/cuda/lib
libcublasemu.so libcublasemu.so.1.1 libcublas.so.1 libcudart.so libcudart.so.1.1 libcufftemu.so.1 libcufft.so libcufft.so.1.1
libcublasemu.so.1 libcublas.so libcublas.so.1.1 libcudart.so.1 libcufftemu.so libcufftemu.so.1.1 libcufft.so.1

All the files seem to be there, the PATH and LD_LIBRARY_PATH seem to be set correctly, yet somehow it fails to locate libcudart.so correctly.

I am not 100% sure the driver install (using a 8600GT with dual-monitors) worked correctly, so how can I check what driver version it is using?

Thanks for any help

Try adding /usr/local/cuda/lib to /etc/ld.so.conf, and running ldconfig.

You can use this command to check the driver version:

glxinfo | grep “OpenGL version”

It should show NVIDIA and the driver version.

I had this problem and had to run ‘export LD_LIBRARY_PATH’