libqt-mt.so and xinerama: undefined references
recently upgraded to kde 3.4.2 from unstable, most everything works well.
I am however unable to compile anything. apt-get source, /debian/rules build
always tells me that qt is not installed (same result with ./configure).
Poking through config.log, I am getting
/usr/share/qt3/lib/libqt-mt.so: undefined reference to `XineramaIsActive'
/usr/share/qt3/lib/libqt-mt.so: undefined reference to `XineramaQueryScreens'
/usr/share/qt3/lib/libqt-mt.so: undefined reference to
`XineramaQueryExtension'
With some apps I can kludge around it by replacing '-lXext' with '-lXext
-lXinerama' in configure, but it doesn't always work, and sometimes when it
does compile, when I run the resulting binary it gives me
symbol lookup error: /usr/lib/libqt-mt.so.3: undefined symbol:
XineramaQueryExtension
Some random outputs that may or may not be useful:
nm --dynamic /usr/lib/libqt-mt.so|grep -i Xiner
U XineramaIsActive
U XineramaQueryExtension
U XineramaQueryScreens
nm /usr/X11R6/lib/libXinerama.a | grep XineramaQueryExtension
Xinerama.o:
00000630 T XineramaIsActive
00000610 T XineramaQueryExtension
00000740 T XineramaQueryScreens
00000620 T XineramaQueryVersion
readelf -a /usr/lib/libqt-mt.so.3.3.4 | grep Xinerama
0x00000001 (NEEDED) Shared library: [libXinerama.so.1]
006923e4 001bdf07 R_386_JUMP_SLOT 00000000 XineramaIsActive
00692404 001bf307 R_386_JUMP_SLOT 00000000 XineramaQueryScreens
006954fc 003b0507 R_386_JUMP_SLOT 00000000 XineramaQueryExtension
7135: 00000000 276 FUNC GLOBAL DEFAULT UND XineramaIsActive
7155: 00000000 552 FUNC GLOBAL DEFAULT UND XineramaQueryScreens
15109: 00000000 41 FUNC GLOBAL DEFAULT UND XineramaQueryExtension
readelf -a /usr/X11R6/lib/libXinerama.so.1 | grep Xinerama
0x0000000e (SONAME) Library soname: [libXinerama.so.1]
15: 00001070 276 FUNC GLOBAL DEFAULT 10 XineramaIsActive
17: 00001190 552 FUNC GLOBAL DEFAULT 10 XineramaQueryScreens
19: 00001040 41 FUNC GLOBAL DEFAULT 10 XineramaQueryVersion
28: 00001010 41 FUNC GLOBAL DEFAULT 10 XineramaQueryExtension
ldd /usr/lib/libqt-mt.so.3
...
libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0xb76a1000)
...
I'm at a bit of a loss, and feeling lost without being able to compile
Konqueror, okle, etc without my usual changes. I'd file a bug, but I suspect
it's something specific to my machine, or surely someone else would have
noticed something like this by now? At any rate, any hints would be greatly
appreciated here.
Using mostly Etch, with a lot of C++ stuff from Sid. Trying to compile with
gcc4 of course.
-Jason
Reply to: