Mesa-5.0.2 in Slackware

Hi, I have Slack9.0, and I’m having this problem while installing Mesa-5.0.2
Here’s what I’ve done:
#cd /usr/local/src/Mesa-5.0.2/
#./configure
(works fine till here, but when I run make…)
#make
Making all in math
make[3]: Entering directory /usr/local/src/Mesa-5.0.2/src/math' /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -g -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -c -o m_debug_clip.lo test -f ‘m_debug_clip.c’ | | echo ‘./’m_debug_clip.c ../../libtool: line 1: s%^.*/%%: No such file or directory ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found ../../libtool: line 1: -e: command not found : compile: cannot determine name of library object from
make[3]: *** [m_debug_clip.lo] Error 1
make[3]: Leaving directory /usr/local/src/Mesa-5.0.2/src/math' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory /usr/local/src/Mesa-5.0.2/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/Mesa-5.0.2’
make: *** [all] Error 2

Then i’ve tried the old way for building
#cp Makefile.X11 Makefile
#make linux
(seems to work fine, but when I tried to run any demos)
./fire: relocation error: /usr/lib/libGL.so.1: undefined symbol: glColor3bv

What’s the problem?
And how the heck I can solve it?
thx.

Actually, the second error, is this:
./fire: relocation error: /usr/lib/libglut.so.3: undefined symbol: XmuLookupStandardColormap

Thx

The problem is that the libtool from slackware is not the libtool Mesa expects. I guess that once again has some idiot made an stupid update of a tool breaking all backwards compatibility.

The soultion could be a precompiled library or the one you are using with some extra commands like
-L/usr/X11R6/lib -lXmu -lX11 -lXi -lXext

Nop, it didn’t solved:
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/…/…/…/…/i386-slackware-linux/bin/ld: cannot find -lXmu
collect2: ld returned 1 exit status

Thx

Zarnick,

Is your problem that the demos won’t build, or that they won’t run?

Make sure you can find libXmu.so.whatever on your system (probably in /usr/X11R6/lib) – then make sure ld can find it: check ld.so.conf and if necessary run ldconfig.

I’ve got the same problem, how did you solve it?

I found a slackware .tgz package of mesa 5.01 on:
http://www3.linuxpackages.net/packages/Slackware-9/pcxz/mesa/

I have the same problem too…

Originally posted by Zarnick:
./fire: relocation error: /usr/lib/libGL.so.1: undefined symbol: glColor3bv

thx.[/b]

Maybe it’s a problem of dependences. There is a command which searches for the libraries that your program uses.

You can try this command: strace

So, now you can see the dependences and make (if necessary) a symbolic link to the place where the program looks for the libraries.

Tell me if this resolve your problem.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.