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
Probably,
export LIBRARY_PATH=/usr/lib/nvidia-current:$LIBRARY_PATH
is better than my previous code in comment #6.
--
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
I confirm this in natty. Why are the drivers not installed in the usual
place?
--
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
I confirm the bug with ubuntu 10.10 : drivers from nvidia works but not the
packaged drivers.
It seems that there is a problem with symbolic link and/or variables
environment.
Please reopen this bug
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
** Changed in: nvidia-graphics-drivers (Ubuntu)
Status: Expired = Confirmed
--
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
We're closing this bug since it is has been some time with no response from the
original reporter. However, if the issue still exists please feel free to
reopen with the requested information. Also, if you could, please test against
the latest development version of Ubuntu, since this
** Changed in: nvidia-graphics-drivers (Ubuntu)
Status: Invalid = Incomplete
--
ld cannot find -lcuda, when compiling cuda programs
https://bugs.launchpad.net/bugs/587288
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
** Changed in: nvidia-graphics-drivers (Ubuntu)
Status: Incomplete = Invalid
--
ld cannot find -lcuda, when compiling cuda programs
https://bugs.launchpad.net/bugs/587288
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
That helped, thanks. I had always thought that also ld searches the
paths set in ld.so.conf, but it seems not to be the case.
Anyway, could the update-alternatives system be used somehow to
circumvent the nonstandard location of the driver by creating symlinks
to /usr/lib?
--
ld cannot find
You probably need to build it with -L/usr/lib/nvidia-current to tell ld
to search that path. This can generally be done in the Makefile for the
application you are building.
** Changed in: nvidia-graphics-drivers (Ubuntu)
Status: New = Incomplete
--
ld cannot find -lcuda, when
10 matches
Mail list logo