Craig Harbuck wrote:
 On Wednesday, Dec 11, 2002, at 08:20PM, Martin Costabel <[EMAIL PROTECTED]> wrote:


Craig Harbuck wrote:
[]

dyld: wmaker Undefined symbols:
_XFreeGC

This symbol is defined in the library /usr/X11R6/lib/libXpm.4.dylib.
Oops, eyes crossed at 2:20am... It is rather /usr/X11R6/lib/libX11.6.dylib, but you seem to have that, too.
[]
I got exactly that:
[]
OK, so it must be something else.

[Craig-Harbucks-Computer:~] dlib% sudo locate _XFreeGC
You don't see a symbol in a library with "locate". Try

nm /usr/X11R6/lib/libX11.6.dylib | grep _XFreeGC

It should show something like
U _XFreeGC
U _XFreeGC
U _XFreeGC
000095ac T _XFreeGC

The last line shows that the symbol is indeed defined there.
The relation with wmaker is that "otool -L /sw/bin/wmaker" shows among other things
/usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current version 6.2.0)

Actually, if you want to repeat the way how I found that (in my case, at least; in your case something got to be different) this symbol is defined in that library, you can run the following one-liner in bash (if bash is not your default shell, just say "bash" at the tcsh prompt):

for LIB in `otool -L /sw/bin/wmaker | awk '{ print $1 }'` ; do nm $LIB 2>/dev/null | grep _XFreeGC && echo "=======>"$LIB; done

I also examined the contents of /usr/X11R6/lib
[]
libX11.6.2.dylib          libXmuu.1.0.dylib         libdpstk.1.dylib
libX11.6.dylib            libXmuu.1.dylib           libdpstk.a
libX11.a                  libXmuu.a                 libdpstk.dylib
libX11.dylib              libXmuu.dylib             libfntstubs.a
[etc]

This looks OK.

What do you suggest now?  XDarwin quits immediately everytime I start it.
Try to find, as suggested above, to see if the symbol in question is defined in the libX11 library, and if this library is in the list of shared libraries loaded by the wmaker executable (and if both answers are yes, make sure that your wmaker is the one from fink, "where wmaker").

--
Martin



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to