cannot file file the file exists, is in path, but is not found

What is going on here:
when I check for $PATH, $LD_LIBRARY_PATH and ldd ./clock

I get the following

james ~/NVIDIA_CUDA_SDK/bin/linux/emurelease$ echo LD_LIBRARY_PATH /usr/local/cuda/lib james ~/NVIDIA_CUDA_SDK/bin/linux/emurelease echo PATH /usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games james ~/NVIDIA_CUDA_SDK/bin/linux/emurelease ldd ./clock => (0xb7f9e000) => not found => /usr/lib/ (0xb7e98000) => /lib/tls/i686/cmov/ (0xb7e72000) => /lib/ (0xb7e67000) => /lib/tls/i686/cmov/ (0xb7d18000) => /lib/tls/i686/cmov/ (0xb7d00000)
/lib/ (0xb7f9f000)

When I run the file clock file executable I get this.

james ~/NVIDIA_CUDA_SDK/bin/linux/emurelease$ ./clock
./clock: error while loading shared libraries: cannot open shared object file: No such file or directory
james ~/NVIDIA_CUDA_SDK/bin/linux/emurelease$

Now when I do a file search for, I get


So the file,,exists and it is in the correct directory. Why can’t the executable find it? I have shown two instances
where the executable cannot find it.

Any help greatly appreciated.



This was originally in the wrong directory, but I moved into the this more appropriate directory.