linker cannot find -lcuda (linux, cuda 5.5)

I am unable to compile CUDA samples. The compiler returns the following error:

"/usr/local/cuda-5.5"/bin/nvcc -ccbin g++ -m64 -o simpleTextureDrv simpleTextureDrv.o  -L/usr/lib/nvidia-current -lcuda
/usr/bin/ld: cannot find -lcuda

I saw the previous “linker cannot find -lcuda” from Dalibor_CZ earlier ( but the solution does not apply: I do not have any /usr/lib/nvidia-current folder, so…where does this come from ?

well, the NVIDA driver did not install correctly, that’s why. Just had to rerun


and the lib is installed.