This appears to affect both packages nvidia-current and nvidia-current- updates. The whole setup of the nvidia-provided libraries is kind of crazy. The postinst script uses update-alternatives to add an ld.so.conf entry for the directory /usr/lib/nvidia-current[-updates]. However, and this is really poorly documented and confusing in the gcc manpage (see http://gcc.gnu.org/ml/gcc-help/2001-12/msg00076.html), this really only affects runtime resolution of libraries, not linktime (except, it appears, to resolve *dependencies* of linked libraries, in some cases...).
The postinst script also adds a bunch of slave links to that main ld.so.conf alternative, some of which do install links from the system locations (a fun mix of /usr/lib, /usr/lib32, and /usr/lib/i386-linux- gnu) to specific libs in /usr/lib/nvidia-current[-updates]. It just appears that set of slave links is incomplete (and what is up with the three different system lib dirs?). OP pointed out that some libs are nvidia specific, like libcuda.so, but others are just provided by nvidia, like libGL.so. Why not just use the alternatives system, as it was intended, to setup the correct link from e.g. /usr/lib/libGL.so to /uusr/lib/nvidia-current/libGL.so? This (currently unanswered) question http://askubuntu.com/questions/66109 /libgl-so-and-gl-h-not-available-from-standard-path suggests that someone intended *not* to do that?? -- 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/959275 Title: libs unique to nvidia should be linked to /usr/lib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/959275/+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