On Tue, Dec 26, 2006 at 03:56:27PM -0500, Aaron M. Ucko wrote: > Thomas Dickey <[EMAIL PROTECTED]> writes: > > > agree - I was not thinking of the search list (though I'm aware of it). > > > > The description I read did not mention it, either... > > Mac OS's approach to dynamic libraries is ... somewhat unusual. > AFAICT, the way things work there is that each library hard-codes a > (single) canonical installation location, which the static linker then > embeds in any executables (or other dynamic libraries) that link to > it. The runtime linker then proceeds to search for each required > library in, in order, DYLD_LIBRARY_PATH, the hardcoded per-library > path, and DYLD_FALLBACK_LIBRARY_PATH.
HPUX embeds an installation location as well... Creating the libraries is one part of the problem. Installing them can be a pain as well. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
pgp3SSdmcTKxB.pgp
Description: PGP signature