• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Re[2]: Using a dylib without installing it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Using a dylib without installing it (From: Dix Lorenz <email@hidden>)
 >Re: Using a dylib without installing it (From: "DAS Loop" <email@hidden>)
 >Re[2]: Using a dylib without installing it (From: Peter Mulholland <email@hidden>)

  • Prev by Date: Re: Re[2]: Using a dylib without installing it
  • Next by Date: Mysterious warning (comparison between pointer and integer)
  • Previous by thread: Re: Re[2]: Using a dylib without installing it
  • Next by thread: Re: Using a dylib without installing it
  • Index(es):
    • Date
    • Thread