/usr/bin/ld: cannot find -lcuda


I’m not very familiar with linux.
This must be some easy trick for most of you, but I’ve been looking for hours now and still can’t find how to fix it.
I’m using Ubuntu 10.04 (fresh install) with cuda toolkit 3.0 and GeForce 8600M GT (driver: 195.36.15, recommended by ubuntu).

I can make some examples from the SDK like nbody but some others won’t like : deviceQuery.The error is “/usr/bin/ld: cannot find -lcuda”.
Most topics talk about “/usr/bin/ld: cannot find -lglu”, but i couldn’t find any help for “/usr/bin/ld: cannot find -lcuda”.
I don’t think it comes from the driver since the GPU is being used when i launch simpleTexture3D, for example.

Thanks for your help.


Ok, I missed this topic which should have the answer to my problem :