OK, I figured it out, I assume it was my own mistake, but I'm not
entirely sure. Here's what I found out:

My $LD_LIBRARY_PATH was set to "/usr/lib/xorg". This directory held the
following files:

lrwxrwxrwx 1 root root     26 2007-10-23 19:12 /usr/lib/xorg/libGL.so -> 
/usr/lib/xorg/libGL.so.1.2
lrwxrwxrwx 1 root root     26 2007-10-23 19:12 /usr/lib/xorg/libGL.so.1 -> 
/usr/lib/xorg/libGL.so.1.2
-rw-r--r-- 1 root root 783362 2007-10-23 19:12 /usr/lib/xorg/libGL.so.1.2

Now these files are also under "/usr/lib":

lrwxrwxrwx 1 root root     10 2008-04-30 09:48 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     12 2008-04-30 09:48 /usr/lib/libGL.so.1 -> 
libGL.so.1.2
-rw-r--r-- 1 root root 394924 2008-04-06 00:06 /usr/lib/libGL.so.1.2

As one can see, the file size of libGL.so.1.2 does not match so these
are not the same libs. Furthermore, the files under "/usr/lib" belong to
the package libgl1-mesa-glx but the files under "/usr/lib/xorg" do not
belong to any package. So while the package was correctly installed, the
setting from $LD_LIBRARY_PATH was overriding them and the wrong libs
from "/usr/lib/xorg" were used, hence the strange error.

Now it is very well possible that I caused this whole mess by myself via
a manual install of something (although I did not install the mesa libs
by myself at any time) but I dist-upgraded this computer regurarly since
Ubuntu 6.06, so... I thought I'd write my experiences down here in case
somebody else is experiencing the same problem.

-- 
ATI OSS driver: compiz won't start after upgrade to Hardy
https://bugs.launchpad.net/bugs/224223
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to