• 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
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]

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


  • Subject: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
  • From: Jim Correia <email@hidden>
  • Date: Fri, 18 Sep 2009 18:48:51 -0400

I have an application which uses libcrypto which needs to run on both 10.5 and 10.6.

I'd like to move to the 10.6 SDK.

If I like to libcrypto, this records libcrypto.0.9.8 in the binary, which then won't launch on 10.5.

Since Snow Leopard includes 0.9.7 for binary compatibility, I figured I could like to this directly to solve the problem. However, when I do so, I get the following error:

	/Developer/usr/bin/gcc-4.2 ... -lcrypto.0.9.7 ...

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

Under what situations does the linker declare "cannot link directly with <xxx>"?

How can I use the 10.6 SDK to build my application, and retain binary compatibility with 10.5 while using libcrypto?

Thanks,
Jim
_______________________________________________
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: Jens Alfke <email@hidden>
  • Prev by Date: Re: No 'return' statement is not flagged
  • Next by Date: Re: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
  • Previous by thread: Re: No 'return' statement is not flagged
  • Next by thread: Re: Using libcrypto & the 10.6 SDK with a minimum OS requirement of 10.5
  • Index(es):
    • Date
    • Thread