Fwd: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
Fwd: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
- Subject: Fwd: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
- From: "email@hidden" <email@hidden>
- Date: Sat, 19 Sep 2009 15:54:29 +0100
On 19 Sep 2009, at 10:58, Jean-Daniel Dupas wrote:
You should copy the libcrypto from the 10.5 SDK in your project and link your executable on this file.
Note that you don't have to distribute this file, just putting it somewhere the linker can find it, so your executable will use the system's libcrypto.0.9.7.dylib.
I have successfully linked to libcrypto.0.9.7.dylib on 10.6 and 10.5 using this stub method. You may still run into some linkage issues though due to the fact that by default you will be linking using the 0.9.8 header. eg: In 0.9.7 BIO_set_flags() is defined as a macro, under 0.9.8 it is a function leading to a symbol not found error at link time against 0.9.7. I worked around this by declaring and utilising #define BIO_set_flags_097(b,f) ((b)->flags|=(f)) Jonathan Mitchell Developer http://www.mugginsoft.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