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 <rig...@comcast.net> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com

This email sent to steven.degu...@gmail.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/thomascl%40free.fr

This email sent to thoma...@free.fr


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/devlists%40shadowlab.org

This email sent to devli...@shadowlab.org


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to