Subject: Re: "libtool" generated shared objects under Mac OS X
To: None <tech-pkg@NetBSD.org>
From: Matthias Scheler <email@example.com>
Date: 03/16/2006 12:58:02
In article <firstname.lastname@example.org>,
Jed Davis <email@example.com> writes:
>> our "libtool" compiles shared objects to ".so" files under Mac OS X.
>> But both the "pango" and the "gtk2+" package expected (before I
>> patched them) ".dylib" files (which is the suffix for shared libraries
>> under Mac OS X). Is that a bug in our "libtool" or in Pango and GTK+ 2.x.
> Are they MH_DYLIB or MH_BUNDLE? (file(1) should tell you.)
tron@excalibur:~>file /usr/pkg/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so /usr/pkg/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so: Mach-O bundle ppc
> The convention seems to be that the former should be named with
> ".dylib" and the latter with either ".bundle" or ".so"
So the above is named correctly and GTK+ is broken because it expects
it to be called ".dylib"?
Matthias Scheler http://scheler.de/~matthias/