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-X, which is subscribed to nvidia-graphics-drivers in 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 _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp