• 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: Link to zlib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link to zlib


  • Subject: Re: Link to zlib
  • From: Peter O'Gorman <email@hidden>
  • Date: Wed, 11 Jun 2008 20:26:08 -0500

Greg Guerin wrote:
> Fritz Anderson wrote:
>
>> The assertion is that if you link, for instance, to /usr/lib/
>> libcurl.dylib, that that symlink will be the very path used for the load
>> path.
>
> IIRC, that assertion is false.
>
> If you link to /usr/lib/libcurl.dylib, then the install-name in the dylib
> will be embedded into your linked code.
>
> I don't think the symlink-itude of /usr/lib/libcurl.dylib enters into
> things at all.  It could be a symlink, or a symlink to a symlink, etc.  I'm
> pretty sure the install-name from opening the file and reading its contents
> is used in all cases.
>
> But I could be wrong.

You're not. The install_name is used in the load command. If someone
wants to change that after the fact, there is always install_name_tool.

Peter
--
Peter O'Gorman
http://pogma.com
 _______________________________________________
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: 
 >Re: Link to zlib (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: Maybe this is a dumb question....
  • Next by Date: Re: 3.1 beta 7 error
  • Previous by thread: Re: Link to zlib
  • Next by thread: Is Xcode 3.1 final?
  • Index(es):
    • Date
    • Thread