• 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: "email@hidden" <email@hidden>
  • Date: Sat, 19 Sep 2009 15:50:16 +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





_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Movable Document Modal Dialogs
  • Next by Date: Re: CoreData / SQL hang on save
  • Previous by thread: Re: Movable Document Modal Dialogs
  • Next by thread: Re: CoreData / SQL hang on save
  • Index(es):
    • Date
    • Thread