kde gl screensavers

Bruce Dubbs bdubbs at swbell.net
Sat Apr 16 21:32:47 PDT 2005


I've been working on kde 3.4 and am doing some testing.

In order to get the GL screensavers to work, I had to install Mesa from
http://mesa3d.sourceforge.net/

It is not a hard install, but it installs the follwing libraries:

lrwxrwxrwx  1 root root      10 Apr 16 22:54 libGL.so -> libGL.so.1
lrwxrwxrwx  1 root root      19 Apr 16 22:54 libGL.so.1 ->
libGL.so.1.5.060201
-rwxr-xr-x  1 root root 2576149 Apr 16 22:54 libGL.so.1.5.060201
lrwxrwxrwx  1 root root      11 Apr 16 22:54 libGLU.so -> libGLU.so.1
lrwxrwxrwx  1 root root      20 Apr 16 22:54 libGLU.so.1 ->
libGLU.so.1.3.060201
-rwxr-xr-x  1 root root  572720 Apr 16 22:54 libGLU.so.1.3.060201
lrwxrwxrwx  1 root root      11 Apr 16 22:54 libGLw.so -> libGLw.so.1
lrwxrwxrwx  1 root root      15 Apr 16 22:54 libGLw.so.1 -> libGLw.so.1.0.0
-rwxr-xr-x  1 root root   13730 Apr 16 22:54 libGLw.so.1.0.0
lrwxrwxrwx  1 root root      14 Apr 16 22:54 libOSMesa.so -> libOSMesa.so.6
lrwxrwxrwx  1 root root      23 Apr 16 22:54 libOSMesa.so.6 ->
libOSMesa.so.6.2.060201
-rwxr-xr-x  1 root root   38324 Apr 16 22:54 libOSMesa.so.6.2.060201


The problem is that xorg installs (in /lib):
-rw-r--r--  1 root root     653 Apr  9 21:45 /usr/lib/libGL.la
lrwxrwxrwx  1 root root      10 Apr  9 21:45 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx  1 root root      17 Apr  9 21:45 /usr/lib/libGL.so.1 ->
libGL.so.1.0.7174
-rwxr-xr-x  1 root root  485260 Apr  9 21:45 /usr/lib/libGL.so.1.0.7174
lrwxrwxrwx  1 root root      21 Apr  9 21:45 /usr/lib/libGLcore.so.1 ->
libGLcore.so.1.0.7174
-rwxr-xr-x  1 root root 7626156 Apr  9 21:45 /usr/lib/libGLcore.so.1.0.7174

and installs he following in /usr/X11R6/lib:

lrwxrwxrwx  1 root root     13 Apr  9 20:17 /usr/X11R6/lib/libGLU.so ->
libGLU.so.1.3
lrwxrwxrwx  1 root root     13 Apr  9 20:17 /usr/X11R6/lib/libGLU.so.1
-> libGLU.so.1.3
-rwxr-xr-x  1 root root 568713 Apr  9 20:17 /usr/X11R6/lib/libGLU.so.1.3
lrwxrwxrwx  1 root root     13 Apr  9 20:17 /usr/X11R6/lib/libGLw.so ->
libGLw.so.1.0
lrwxrwxrwx  1 root root     13 Apr  9 20:17 /usr/X11R6/lib/libGLw.so.1
-> libGLw.so.1.0
-rwxr-xr-x  1 root root  26615 Apr  9 20:17 /usr/X11R6/lib/libGLw.so.1.0


As you can see, we have a conflicts with libGL, libGLU, and libGLw.  The
question is how to handle the conflict.  KDE points to Mesa and it does
work.

How should we proceed?  Should we install Mesa over the existing
libraries?  In /usr/lib?  In /usr/X11R6/lib?

What I did for now is put Mesa in /usr/local/lib and run ldconfig
leaving all libraries available, but ld.so.conf looks at /usr/local/lib
first.

Opinions?

  -- Bruce



More information about the blfs-dev mailing list