Re: Linking to libcrypto
Re: Linking to libcrypto
- Subject: Re: Linking to libcrypto
- From: "Ben Kennedy" <email@hidden>
- Date: Mon, 3 Nov 2003 00:04:34 -0500
- Organization: Zygoat Creative Technical Services
On 02 11 2003 at 11:50 pm -0500, Justin C. Walker wrote:
>Just a note: apps typically will stubbornly not be able to tell whether
>a file ref is a symbollic link. That's the point. Some utilities are
>designed to distinguish, to assist in system management, but otherwise,
>it's By Design that symbolic links are not distinguished from the real
>thing.
I fully understand what you're saying. This is one situation where you
would expect Xcode to be smart enough to do as it's told and not what it
thinks it should do; that is to say, don't resolve the symlink and then
forget about the symlink.
I admit I do not have a full grasp on library versioning and dependencies
and whatnot, but based on my understanding, I want my binary to say "hey
dyld, please link in libcrypto of any version". That's my intent in
pointing xcode to libcrypto.dylib (or libcrypto.0.9.dylib as I ended up
doing), as opposed to libcrypto.0.9.7.dylib, which results in "hey dyld,
please link libcrypto 0.9.7 which is only available on panther".
>Why libcrypto is showing two versions is a puzzle; I'd expect something
>like
> libcripto -> libcrypto.0.9 -> libcrypto.0.9.7
>as symlinks, with only the latter a real file. That way, you can name
>the library less and less specifically.
Precisely what I expected as well.
>BTW, how does linking against 'libcrypto.dylib' create a version
>dependency?
Because on Panther, libcrypto.dylib resolves to libcrypto.0.9.7, which is
a later version than is available on Jaguar, and consequently the app
will not run on same.
-ben
--
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.