View Single Post
Old 01-02-04, 11:08 AM   #7
NVIDIA Corporation
zander's Avatar
Join Date: Aug 2002
Posts: 3,740

I hold no grudge against RedHat and have no reason to "bash" them; flame wars don't enjoy the reputation of being productive, anyway, and pointing fingers doesn't solve problems. My initial comment on the bug report was merely intended to point out common misconceptions about NVIDIA's installation utility, nvidia-installer.

My memory didn't serve me well and I made the false claim (which I withdrew after re-reading the document) that the /usr/X11R6/lib installation path itself violates the Linux OpenGL ABI; this is not the case, as Mike also points out in his latest comment. He makes valid points with respect to the runtime linker and architecture specific optimizations and there is no denying that earlier versions of nvidia-installer falsely assume that no libGL will reside outside of /usr/lib. As a result, conflicting files are searched for in /usr/lib, only, and moved to /var/lib/nvidia to allow their restoration in the event that the NVIDIA driver is to be uninstalled. Consequently, any copies of libGL installed in /usr/X11R6/lib remain intact.

Even these older revisions of nvidia-installer place the appropriate NVIDIA libGL in /usr/lib/tls, however, which leaves the question why the libraries in /usr/X11R6/lib/tls have precedence, when they shouldn't:

[root@fedora root]# ldconfig -p | grep (libc6, hwcap: 0x8000000000000000) => /usr/X11R6/lib/tls/ (libc6, hwcap: 0x8000000000000000) => /usr/lib/tls/ (libc6) => /usr/lib/ (libc6, hwcap: 0x8000000000000000) => /usr/lib/tls/ (libc6) => /usr/lib/

[root@fedora root]# ldd /usr/X11R6/bin/glxgears => /usr/X11R6/lib/tls/ (0x00732000) => /usr/X11R6/lib/ (0x00101000) => /usr/X11R6/lib/ (0x00d20000) => /lib/tls/ (0x00147000) => /lib/tls/ (0x00cf7000) => /lib/tls/ (0x00bbc000) => /lib/ (0x00d1b000)
        /lib/ => /lib/ (0x00ba4000)
Either way, one can only hope that distributors such as RedHat and hardware vendors such as NVIDIA (as well as distributors/vendors among themselves) will find ways to coordinate their efforts more efficiently in the future.
zander is offline   Reply With Quote