On 07 Jul 2010, at 02:54, Jean-François Mertens wrote:
> # pkg-config --libs libsexy
> -L/sw/lib -L/usr/X11/lib -Wl,-framework,CoreServices -Wl,-
> framework,ApplicationServices -lsexy -lgtk-x11-2.0 -lgdk-x11-2.0 -
> latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -
> lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -
> lgmodule-2.0 -lglib-2.0 -lintl -lxml2
# otool -L /sw/lib/libsexy.dylib shows here:
...
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version
1.2.3)
/usr/X11/lib/libfontconfig.1.dylib (compatibility version 5.0.0,
current version 5.0.0)
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current
version 7.0.0)
/usr/X11/lib/libfreetype.6.dylib (compatibility version 10.0.0,
current version 10.20.0)
/usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current
version 7.0.0)
...
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/
ApplicationServices (compatibility version 1.0.0, current version
34.0.0)
Some of the above should rather come from %p ...; but "nm" shows that
none of the above is in fact needed:
the only libs used are
# otool -L /sw/lib/libsexy.dylib|fgrep "`nm -mfgu /sw/lib/
libsexy.dylib|sed -r -e 's,.* [(]from ,,' -e 's,[)]$,,'|sort -u`"|sed -
r -e 's,^[[:space:]]*,,' -e 's, .*,,'
/sw/lib/libgtk-x11-2.0.0.dylib
/sw/lib/libgdk-x11-2.0.0.dylib
/sw/lib/libgdk_pixbuf-2.0.0.dylib
/sw/lib/pango-ft219/lib/libpango-1.0.0.dylib
/sw/lib/libgobject-2.0.0.dylib
/sw/lib/libgmodule-2.0.0.dylib
/sw/lib/libglib-2.0.0.dylib
/sw/lib/libintl.8.dylib
/sw/lib/libxml2.2.dylib
/usr/lib/libSystem.B.dylib
(leading to glib2-shlibs, gtk+2-shlibs, libgettext8-shlibs, libxml2-
shlibs and pango1-xft2-ft219-shlibs
as only "real" deps)
So the "-lz" coming from libsexy on which gmpc relies is purely
accidental (if not an error..)
JF Mertens
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel