I get lots of errors like the following when trying to compile the example KDE programs:
/usr/X11R6/lib/libXext.a(extutil.o): In function `XextAddDisplay':
extutil.o(.text+0x1e8): undefined reference to `_XLockMutex_fn'
extutil.o(.text+0x1f2): undefined reference to `_Xglobal_lock'
extutil.o(.text+0x20b): undefined reference to `_XUnlockMutex_fn'
extutil.o(.text+0x215): undefined reference to `_Xglobal_lock'
And, when trying to execute 'java' from the jdk1.1.6v2glibc, I get the following error:
/usr/local/jdk/bin/i586/green_threads/java: error in loading shared libraries
/usr/X11R6/lib/libXp.so.6: undefined symbol: _Xglobal_lock
I'd appreciate any help saying what the problem is, or advising what I should do to check my system out. Like,
what do these messages exactly mean? What tool can I use to find out what doesn't exist or is outdated, or has a broken dependency?
Here are the results of running "ldd" on the two named libraries. (I'm not sure exactly what the results mean):
libc.so.6 => /lib/libc.so.6 (0x4000a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)
> ldd /usr/X11R6/lib/libXext.a
ldd: warning: you do not have execution permission for `/usr/X11R6/lib/libXext.a'
not a dynamic executable
Redhat i386 5.0
...Plus, I've upgraded several *lib* rpms.