Bug#597452: nvidia-glx: libGL.so symlink missing

Manuel Bilderbeek manuel at msxnet.org
Mon Sep 20 20:16:18 UTC 2010


On 09/19/2010 11:38 PM, Russ Allbery wrote:
>> no libGL.so :(
>
> Right.  If you want the development library link, you have to install the
> development packages.  The NVIDIA development packages only put things in
> /usr/lib/nvidia because normal Debian software shouldn't link directly
> with the NVIDIA libGL.  Normally, you just want to install
> libgl1-mesa-dev, which provides the *.so link.

Yes, but I already have that package installed...

$ apt-cache policy libgl1-mesa-dev
libgl1-mesa-dev:
   Installed: 7.7.1-4

So, I tried to aptitude reinstall it.

Processing triggers for libgl1-nvidia-alternatives ...
update-alternatives: warning: forcing reinstallation of alternative 
/usr/lib/nvidia/diversions/libGL.so because link group libGL.so is broken.

That doesn't look too good.

Checking:

$ ls -l /usr/lib/libGL.*
lrwxrwxrwx 1 root root 26 Sep 20 22:12 /usr/lib/libGL.so -> 
/etc/alternatives/libGL.so
lrwxrwxrwx 1 root root 28 Sep 13 20:35 /usr/lib/libGL.so.1 -> 
/etc/alternatives/libGL.so.1

$ ls -l /etc/alternatives/libGL.*
lrwxrwxrwx 1 root root 35 Sep 20 22:12 /etc/alternatives/libGL.so -> 
/usr/lib/nvidia/diversions/libGL.so
lrwxrwxrwx 1 root root 26 Sep 13 20:35 /etc/alternatives/libGL.so.1 -> 
/usr/lib/nvidia/libGL.so.1

$ ls -l /usr/lib/nvidia/libGL.*
lrwxrwxrwx 1 root root     10 Sep 19 13:31 /usr/lib/nvidia/libGL.so -> 
libGL.so.1
lrwxrwxrwx 1 root root     18 Sep 13 20:34 /usr/lib/nvidia/libGL.so.1 -> 
libGL.so.195.36.31
-rw-r--r-- 1 root root 957760 Jun  3 18:46 
/usr/lib/nvidia/libGL.so.195.36.31

$ ls -l /usr/lib/nvidia/diversions/libGL.*
lrwxrwxrwx 1 root root     10 Sep 20 22:12 
/usr/lib/nvidia/diversions/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     12 Jul 26 21:16 
/usr/lib/nvidia/diversions/libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 527728 Jul 15 14:23 
/usr/lib/nvidia/diversions/libGL.so.1.2

Well, I guess that's OK...

But how did it become broken!? (I've never messed around with things 
outside of normal aptitude.)

-- 
Kind regards,

Manuel





More information about the pkg-nvidia-devel mailing list