Subject: Re: "libtool" generated shared objects under Mac OS X
To: None <>
From: Matthias Scheler <>
List: tech-pkg
Date: 03/16/2006 12:58:02
In article <>,
	Jed Davis <> 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/ /usr/pkg/lib/gtk-2.0/2.4.0/loaders/ 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"?

	Kind regards

Matthias Scheler