• 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: Steven Degutis <email@hidden>
  • Date: Fri, 28 Aug 2009 19:07:34 -0500

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

  • Follow-Ups:
    • Re: libcrypto on Snow Leopard
      • From: Charles Srstka <email@hidden>
    • Re: libcrypto on Snow Leopard
      • From: Thomas Clement <email@hidden>
References: 
 >libcrypto on Snow Leopard (From: David Riggle <email@hidden>)

  • Prev by Date: bin2c GUI tool?
  • Next by Date: Re: Get error message about registered observers when Object receives dealloc message
  • Previous by thread: Re: libcrypto on Snow Leopard
  • Next by thread: Re: libcrypto on Snow Leopard
  • Index(es):
    • Date
    • Thread