Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17438 - MesaLib-3.5 failure
Summary: MesaLib-3.5 failure
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-13 10:43 UTC by Martin Mokrejš
Modified: 2003-03-20 05:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2003-03-13 10:43:29 UTC
Hi,
  I've tried to install masked version of MesaLIb-3.5.ebuild v1.8 and after
recompiling xscreensaver I get:

$ xscreensaver-gl-helper 
xscreensaver-gl-helper: relocation error: /usr/lib/libGLU.so.1: undefined
symbol: __gxx_personality_v0
$ ldd xscreensaver-gl-helper 
ldd: ./xscreensaver-gl-helper: No such file or directory
$ ldd /usr/bin/xscreensaver-gl-helper
        libGL.so.1 => /usr/lib/libGL.so.1 (0x40029000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x4009d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4013d000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4018d000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40196000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x401ae000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40206000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x402e8000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x402fe000)
        libm.so.6 => /lib/libm.so.6 (0x4030e000)
        libc.so.6 => /lib/libc.so.6 (0x40330000)
        libdl.so.2 => /lib/libdl.so.2 (0x40460000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
mokrejs@vrapenec$

I've successfully downloaded MesaLib-5.0.tar.bz2 and compiled using:

"make -f Makefile.X11 linux-x86"

Don't rung configure! There're missing Makefile.in files! It seems, the tar.gz
is fine (see the bugreport on sourceforge for MesaLib).


Anyway, after installing manually the libraries from MesaLib-5.0/lib/* over
those in /usr/lib I have no problems with unresolved symbols.

Before I had:

lrwxrwxrwx    1 root     root           38 Mar 13 16:56 /usr/lib/libGL.so ->
/usr/lib/opengl/xfree/lib/libGL.so.1.2
lrwxrwxrwx    1 root     root           38 Mar 13 16:56 /usr/lib/libGL.so.1 ->
/usr/lib/opengl/xfree/lib/libGL.so.1.2
-rw-r--r--    1 root     root       688860 Mar 13 16:56 /usr/lib/libGLU.a
-rw-r--r--    1 root     root          769 Mar 13 16:56 /usr/lib/libGLU.la
lrwxrwxrwx    1 root     root           13 Mar 13 16:56 /usr/lib/libGLU.so ->
libGLU.so.1.3
lrwxrwxrwx    1 root     root           17 Mar 13 16:56 /usr/lib/libGLU.so.1 ->
libGLU.so.1.3.350
-rwxr-xr-x    1 root     root       597085 Mar 13 16:56 /usr/lib/libGLU.so.1.3
-rwxr-xr-x    1 root     root       742657 Mar 13 15:45 /usr/lib/libGLU.so.1.3.350


Now, I have:

lrwxrwxrwx    1 root     root           10 Mar 13 17:22 /usr/lib/libGL.so ->
libGL.so.1
lrwxrwxrwx    1 root     root           19 Mar 13 17:22 /usr/lib/libGL.so.1 ->
libGL.so.1.4.050000
-rwxr-xr-x    1 root     root      2307593 Mar 13 17:22 /usr/lib/libGL.so.1.4.050000
-rw-r--r--    1 root     root       688860 Mar 13 16:56 /usr/lib/libGLU.a
-rw-r--r--    1 root     root          774 Mar 13 17:12 /usr/lib/libGLU.la
lrwxrwxrwx    1 root     root           11 Mar 13 17:23 /usr/lib/libGLU.so ->
libGLU.so.1
lrwxrwxrwx    1 root     root           20 Mar 13 17:23 /usr/lib/libGLU.so.1 ->
libGLU.so.1.3.050000
-rwxr-xr-x    1 root     root       597085 Mar 13 16:56 /usr/lib/libGLU.so.1.3
-rwxr-xr-x    1 root     root       680910 Mar 13 17:23
/usr/lib/libGLU.so.1.3.050000
-rwxr-xr-x    1 root     root       742657 Mar 13 15:45 /usr/lib/libGLU.so.1.3.350
-rw-r--r--    1 root     root         9410 Mar 13 17:23 /usr/lib/libGLw.a
lrwxrwxrwx    1 root     root           11 Mar 13 17:23 /usr/lib/libGLw.so ->
libGLw.so.1
lrwxrwxrwx    1 root     root           15 Mar 13 17:23 /usr/lib/libGLw.so.1 ->
libGLw.so.1.0.0
-rwxr-xr-x    1 root     root        14622 Mar 13 17:23 /usr/lib/libGLw.so.1.0.0
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-15 09:33:18 UTC
According to /usr/portage/profiles/package.mask:

---------------------------------------------------------
# Only use the mesa and mesa-glu provided with x11-base/xfree,
# as the external ones gives problems in most cases with DRI/DRM.
# Nvidia users do not use it anyhow, and tdfx users report that
# it works fine with the mesa included with xfree.  If you do
# unmask these, make sure that you know what you are doing, and
# know that if anything breaks, then you get to keep the pieces.
#
# azarah (26 May 2002)
>=media-libs/mesa-3.0
>=media-libs/mesa-glu-3.0
>=media-libs/sgi-oss-glu-1.0
>=media-libs/oss-opengl-glu-1.0
Comment 2 Martin Mokrejš 2003-03-20 05:56:36 UTC
But for me the upgrade to Mesa 5.0 some of the OpenGL requiring screensavers started to work, finally! I don't have any troubles now, compared to the case before when the screensavers could not run(I remember some "SIGCHILD messages on the screen). I have ATI Mobility Radeon 7500-P7 using DRI/DRM, linux kernel-2.4.21-pre5 with UDMA/IDE patch.