• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5


  • Subject: Re: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Sat, 19 Sep 2009 17:16:26 +0200


Le 19 sept. 2009 à 16:54, email@hidden a écrit :

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))


You're right. I forget to mention that to do it safely, you should to use 10.5 openssl header too.


-- Jean-Daniel




_______________________________________________ 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
  • Follow-Ups:
    • Re: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
      • From: "email@hidden" <email@hidden>
References: 
 >Fwd: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5 (From: "email@hidden" <email@hidden>)

  • Prev by Date: Fwd: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
  • Next by Date: Re: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
  • Previous by thread: Fwd: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
  • Next by thread: Re: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
  • Index(es):
    • Date
    • Thread