Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] dylib vs bundle?
Date: Tue, 30 Sep 2008 05:53:08
Message-Id: 20080930055303.GU6875@gentoo.org
In Reply to: [gentoo-alt] dylib vs bundle? by Peter Abrahamsen
1 On 29-09-2008 18:31:48 -0700, Peter Abrahamsen wrote:
2 > Can anyone explain to me the difference between .so's, .dylib's, and
3 > .bundle's? While trying to get plperl working for postgresql on
4 > darwin9, I found that the libraries would load only if they were called
5 > .bundle, and file(1) claims that they're bundles, but others have
6 > suggested that a bundle is usually a directory, which these are not.
7
8 very quickly, on Darwin DYnamically loaded LIBraries are separate from
9 libraries that are only loaded through dlopen(3). Traditionally, those
10 had to be of type MH_BUNDLE, however because this caused too much
11 hassle, in later releases of the OS, dlopen(3) can also cope with
12 HM_DYLIB objects.
13
14 .so is the naming of ELF Shared Objects, as used e.g. on Linux and
15 Solaris.
16
17 > Pointers to docs would be fine; a quick Google didn't return anything
18 > illuminating, and mattmatteh on #gentoo-alt suggested I ask here.
19
20 There is an Apple doc about this, but I don't have the time to look for
21 it at the moment.
22
23
24 --
25 Fabian Groffen
26 Gentoo on a different level

Replies

Subject Author
Re: [gentoo-alt] dylib vs bundle? Fabian Groffen <grobian@g.o>