• 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: libcrypto on Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libcrypto on Snow Leopard


  • Subject: Re: libcrypto on Snow Leopard
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Sat, 29 Aug 2009 11:06:25 +0200

Make sure to also use the headers from 10.5 SDK if you choose this solution.


Le 29 août 2009 à 10:59, Thomas Clement a écrit :

Another solution is to copy the libcrypto.0.9.7.dylib from the 10.5 SDK into your project directory and link against that.
It works well.


Regards,
Thomas

On Aug 29, 2009, at 2:07 AM, Steven Degutis wrote:

The solution to this is pretty simple, don't link to libcrypto.
Instead, just #import <CommonCrypto/CommonDigest.h> in your file and use the
CC_ prefixed functions in your app, such as CC_MD5.


--
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.org/


On Fri, Aug 28, 2009 at 3:41 PM, David Riggle <email@hidden> wrote:


I converted my project to the 10.6 SDK, but now my app won't launch on
Leopard:


myApp[595]: dyld: Library not loaded: /usr/lib/libcrypto.0.9.8.dylib
myApp[595]: Referenced from: /Users/dave/Desktop/myApp.app/ Contents/myApp
myAppl[595]: Reason: image not found


If I select the older libcrypto in Xcode, I get this compile error:

ld: cannot link directly with
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/libcrypto.0.9.7.dylib

If I do this:

cd /Developer/SDKs/MacOSX10.6.sdk/usr/lib/
sudo mv libcrypto.0.9.7.dylib libcrypto.0.9.7.back
sudo cp /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libcrypto. 0.9.7.dylib .


I can link against the old library, but I get the following link error:

Undefined symbols: _BIO_set_flags

Anybody know where that symbol was defined in 10.5? I really don't like
this Frankenstein's SDK that I'm having to cobble together...


Dave
_______________________________________________

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

_______________________________________________

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


_______________________________________________

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


_______________________________________________

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


References: 
 >libcrypto on Snow Leopard (From: David Riggle <email@hidden>)
 >Re: libcrypto on Snow Leopard (From: Steven Degutis <email@hidden>)
 >Re: libcrypto on Snow Leopard (From: Thomas Clement <email@hidden>)

  • Prev by Date: Re: libcrypto on Snow Leopard
  • Next by Date: Re: libcrypto on Snow Leopard
  • Previous by thread: Re: libcrypto on Snow Leopard
  • Next by thread: Re: libcrypto on Snow Leopard
  • Index(es):
    • Date
    • Thread