Ok, i managed to “install” all the CUDA 2.3 components after a few compilation errors “ld cannot find -L(stuff)”, now it seems like the compilation was succesfull but when i try to run one of the examples this new error occurs: “error while loading shared libraries: libcudart.so.2: wrong ELF class: ELFCLASS32”.
I have no idea on whats going on =(
I am having the same problem. I assume that the examples somehow compiled for 32 bit linux, and this somehow makes them unusable on my 64 bit system.
LD_LIBRARY_PATH or /etc/ld.so.conf should contain both the cuda/lib and cuda/lib64 directories.
Apparantly its in the release notes
set
LD_LIBRARY_PATH
to
/usr/local/cuda/lib64
not
/usr/local/cuda/lib
if you are on a 64 bit platform.
you can use both if you want to use cross-compilation.
I solve it by update the /lib to /lib64
Thanks for the replies. I had the same problem and i hope its going to work fine now. :)
Thanks a lot, I had the same problem.