Re: Linking to libcrypto for 10.2 & 10.3
Re: Linking to libcrypto for 10.2 & 10.3
- Subject: Re: Linking to libcrypto for 10.2 & 10.3
- From: Heath Raftery <email@hidden>
- Date: Tue, 04 Jan 2005 23:12:50 +1100
On 04/01/2005, at 8:33 AM, Glen Simmons wrote:
I've seen a number of emails from people linking to libcrypto and
having problems with running on Jaguar. What I haven't seen is a good
solution. Apparently, the "best" solution is to use the 10.2.8 SDK and
completely give up any Panther-only functionality.
Admittedly, this is the way I've done it in the past, but I could get
away with no Panther-only functionality. Just. But this isn't always
the case of course...
I'm not at all thrilled by this prospect. Is there no other way to do
this?
Sure, AFAIK you can just statically link it instead. That means the
library will be included in your binary (making it bigger, possibly
significantly) for use on any supported OS. I think the easiest way to
do this would be either: get the libcrypto sources yourself and follow
the instructions to compile a static (as apposed to a dynamic) library;
find a pre-compiled static library for the OS X platform; or, use fink
to install the static library. The static library name will be
libcrypto.a instead of libcrypto.dylib.
You may need to read up on the ld man page to figure out how to get the
linker to use your static library instead of the dynamic library, but
as far as I can see this should be no problem.
Heath
--
_____________________________________________________
| Heath Raftery |
| email@hidden |
| *I like nonsense, it wakes up the brain cells. |
| Fantasy is a necessary ingredient in living* |
| - Dr. Suess _\|/_ |
|____________________________________m(. .)m__________|
_______________________________________________
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