libtool uses incorrect module extension (.so instead of .dylib) under Darwin
When modules are generated under Darwin (Mac OS X 10.4.5), the extension .so is always used; I've been told that this comes from libtool (there's this problem with Liferea 1.0.8, whose tarball has been generated using libtool 1.5.22 Debian 1.5.22-4). Unfortunately, the value of G_MODULE_SUFFIX has changed in glib2, from what I can see: $ grep G_MODULE_SUFFIX `locate /include/glibconfig.h` /opt/local/lib/glib-2.0/include/glibconfig.h:#define G_MODULE_SUFFIX dylib /opt/local/var/db/dports/software/glib2/2.10.1_0/opt/local/lib/glib-2.0/include/glibconfig.h:#define G_MODULE_SUFFIX dylib /opt/local/var/db/dports/software/glib2/2.8.4_0/opt/local/lib/glib-2.0/include/glibconfig.h:#define G_MODULE_SUFFIX so /opt/local/var/db/dports/software/glib2/2.8.5_0/opt/local/lib/glib-2.0/include/glibconfig.h:#define G_MODULE_SUFFIX so /opt/local/var/db/dports/software/glib2/2.8.6_0/opt/local/lib/glib-2.0/include/glibconfig.h:#define G_MODULE_SUFFIX so and this breaks GTK applications under Mac OS X. -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/ Work: CR INRIA - computer arithmetic / SPACES project at LORIA ___ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool
Re: libtool uses incorrect module extension (.so instead of .dylib) under Darwin
On Tue, 2006-03-21 at 21:24 +0900, Peter O'Gorman wrote: On Mon, 2006-03-20 at 21:56 +0100, Vincent Lefevre wrote: and this breaks GTK applications under Mac OS X. This is a bug with the glib2 package, either upstream or darwinports. The correct extension for loadable bundles on darwin is .so, for libraries that can be used as input to ld(1) it is .dylib. Already fixed upstream: http://bugzilla.gnome.org/show_bug.cgi?id=322476 Peter signature.asc Description: This is a digitally signed message part ___ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool