Re: Link to zlib
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