PDA

View Full Version : glxinfo problem, RH8.0 & 4191


hippynerd
12-26-02, 06:33 AM
Hi,

I'm having problems with my glx libraries, if I try running glxinfo i get

glxinfo: relocation error: /usr/lib/libGLU.so.1: undefined symbol: __gxx_personality_v0

Also if I try making any of the demo mesa programs (i've followed the Nvidia OpenGL Configuration mini-HOWTO step by step), I'll get

../si-glu/.libs/libGLU.so: undefined reference to `operator new[](unsigned)'
../si-glu/.libs/libGLU.so: undefined reference to `vtable for __cxxabiv1::__si_c
lass_type_info'
../si-glu/.libs/libGLU.so: undefined reference to `operator delete(void*)'
../si-glu/.libs/libGLU.so: undefined reference to `__gxx_personality_v0'

etc when I attempt to make any of the files in the Mesa-5.0/demos dir

I've got the kernel-headers installed, I've run ldconfig, however I'm not sure how to run it properly.

I'm sure someone with a bit of exp could pick out whats wrong pretty quickly, if anyone can i'd appreciate it :)

running RH8.0, 2.4.18-14, just installed 4191 drivers, athlon 1.1ghz, geforce2mx

bwkaz
12-27-02, 12:32 PM
Looks vaguely like a problem where the linker doesn't understand C++... though GLU shouldn't EVER require a C++ linker.

Which libGLU are you using? Is it the one from Mesa, or right from the XFree86 package?

Is libstdc++ (and -devel) installed? What about gcc-c++? (or gcc-g++, I'm not sure which it is...)

hippynerd
12-27-02, 01:55 PM
Looks like i've got libstdc and gcc-c++ installed:

[root@potatojuice demos]# rpm -qa | grep libstdc
libstdc++-devel-3.2-7
libstdc++-3.2-7
compat-libstdc++-7.3-2.96.110

[root@potatojuice demos]# rpm -qa | grep gcc-c++
gcc-c++-3.2-7

I'm not too sure which libGLU i'm running (how can i find out?) I've got libGLU.so files in both /usr/lib/libGLU and /usr/X11R6/lib/

From my output in my previous post, it looks like both /usr/lib/libGLU.so.1 and ./usr/src/Mesa-5.0/.si-glu/.libs/libGLU.so had the same problem

mtrr
12-27-02, 02:05 PM
bwkaz: the si-glu needs indeed c++, ask SGI why :)

cheers