Daniel Macks wrote:
[]
> In addition, sounds like sub-par -L ordering somewhere in fink's
> packages, mixing'n'matching fink-supplied libs with x11's.

Indeed, on that linker line one sees all of the following at the same time:

/usr/X11/lib/libpixman-1.0.10.0.dylib
/sw/lib/libpixman-1.dylib

/usr/X11/lib/libfreetype.dylib
/sw/lib/freetype219/lib/libfreetype.dylib

/usr/X11/lib/libcairo.2.17.5.dylib
/sw/lib/libcairo.dylib

/usr/X11/lib/libpng12.0.26.0.dylib
/sw/lib/libpng12.dylib

/usr/X11/lib/libfontconfig.dylib
/sw/lib/fontconfig2/lib/libfontconfig.dylib
(These two are probably the same file, but why are they both there?)

/usr/lib/libexpat.dylib
/sw/lib/libexpat.dylib

/usr/lib/libiconv.dylib
/sw/lib/libiconv.dylib

The presence of even one of these dylib twins can lead to segfaults.

The -L ordering looks OK, all of the -L/sw/lib flags come before the 
-L/usr/X11 flags. Those superfluous dylibs are probably either generated 
by an over-zealous pkg-config application or by various cascading *.la 
files (this might be another argument in favor of eradicating all *.la 
files, which we will soon have to do anyway if we want to continue using 
Apple's X11).

-- 
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to