Re: Re[2]: Using a dylib without installing it
Re: Re[2]: Using a dylib without installing it
- Subject: Re: Re[2]: Using a dylib without installing it
- From: Peter O'Gorman <email@hidden>
- Date: Tue, 10 Jul 2007 21:32:09 -0500
On Tue, 2007-07-10 at 23:47 +0100, Peter Mulholland wrote:
> Hello DAS,
>
> Tuesday, July 10, 2007, 10:25:22 PM, you wrote:
>
>
> > PS. This is maybe one of the more stupid things in Mac OS X. Why the dylib
> > loader don't look first in some well know location inside the app bundle?
>
> The most stupid thing, IMO, is the hard coding of library paths into
> the binaries. Stupid stupid stupid.
Why?
Using runpaths is not without its disadvantages either, specifically for
security. Forcing libraries to live in specific system directories is
annoying. There is no one formula for locating libraries that will
satisfy everyone. -rpath is identified as a missing feature in the Tiger
release notes, so, with any luck, we will have multiple ways of locating
libraries in the future:
1) runpaths encoded into the executables/libraries.
2) absolute paths.
3) relative paths.
4) specific system directories.
We already have 2,3 and 4 in Tiger.
Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden