Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
- Subject: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
- From: Jim Correia <email@hidden>
- Date: Fri, 18 Sep 2009 18:48:51 -0400
I have an application which uses libcrypto which needs to run on both
10.5 and 10.6.
I'd like to move to the 10.6 SDK.
If I like to libcrypto, this records libcrypto.0.9.8 in the binary,
which then won't launch on 10.5.
Since Snow Leopard includes 0.9.7 for binary compatibility, I figured
I could like to this directly to solve the problem. However, when I do
so, I get the following error:
/Developer/usr/bin/gcc-4.2 ... -lcrypto.0.9.7 ...
ld: cannot link directly with /Developer/SDKs/MacOSX10.6.sdk/usr/lib/
libcrypto.0.9.7.dylib
Under what situations does the linker declare "cannot link directly
with <xxx>"?
How can I use the 10.6 SDK to build my application, and retain binary
compatibility with 10.5 while using libcrypto?
Thanks,
Jim
_______________________________________________
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