This problem can be solved by putting .profile file the following line:

export LIBRARY_PATH="/usr/lib/nvidia-current"

I think creating /etc/profile.d/nvidia-current.sh file containing the
above is good idea.  This file provides the system-wide setting.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/587288

Title:
   ld cannot find -lcuda, when compiling cuda programs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/587288/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to