Alexander Hansen wrote:
[]
> I've just had a chance to try this out on my 10.4 setup, and I get the  
> same error.  10.5 seems not to have this problem.
> 
> The weird thing is that the "missing" symbol does appear to be defined  
> in /usr/X11R6/lib/libX11.dylib:
> 
> $ otool -Tv /usr/X11R6/lib/libX11.dylib | grep XSend
> SendEvent.o      _XSendEvent
> XlibInt.o        __XSend
> ConnDis.o        __XSendClientPrefix
> 
> (unless I'm misinterpreting the output)

Yes, it is defined in libX11.dylib, but libX11.dylib is not on the 
linker line. In my case where it works, libX11 is placed on the linker 
line by libglade-2.0.la.

costabel% grep dependency /sw/lib/libglade-2.0.la
dependency_libs=' -L/sw/lib -L/sw/lib/fontconfig2/lib 
-L/sw/lib/freetype219/lib -L/sw/lib/pango-ft219/lib /sw/lib/libxml2.la 
-lpthread /sw/lib/libgtk-x11-2.0.la /sw/lib/libgdk-x11-2.0.la 
/sw/lib/libatk-1.0.la /sw/lib/pango-ft219/lib/libpangoft2-1.0.la 
/sw/lib/libgdk_pixbuf-2.0.la /sw/lib/libgio-2.0.la 
/sw/lib/pango-ft219/lib/libpangocairo-1.0.la -L/usr/X11/lib 
/sw/lib/pango-ft219/lib/libpangoft2-1.0.la 
/sw/lib/pango-ft219/lib/libpango-1.0.la /sw/lib/libcairo.la 
/sw/lib/libpixman-1.la /sw/lib/libglitz.la /sw/lib/libpng12.la 
/usr/X11/lib/libXrender.la /usr/X11/lib/libX11.la /usr/X11/lib/libXau.la 
/usr/X11/lib/libXdmcp.la /sw/lib/pango-ft219/lib/libpango-1.0.la -lm 
/sw/lib/freetype219/lib/libfreetype.la 
/sw/lib/fontconfig2/lib/libfontconfig.la 
/sw/lib/freetype219/lib/libfreetype.la -lz /sw/lib/libexpat.la 
/sw/lib/libgobject-2.0.la /sw/lib/libgmodule-2.0.la 
/sw/lib/libglib-2.0.la /sw/lib/libintl.la /sw/lib/libiconv.la -lc'

I bet that on the machine where this doesn't work, you don't have 
libX11.la in this list. It used to be unnecessary, because there is 
already libgdk-x11-2.0.la in the list, and the latter used to have 
libX11 in its dependency list. Rebuilding libglade2 might help.

Maybe Jeremy's advice to remove all *.la files from Fink as a 
preparation for the imminent disappearance of the *.la files in xquartz 
and X11SDK is not so absurd after all...

-- 
Martin








-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to