• 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: linking w/ correct libcrypto version?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linking w/ correct libcrypto version?


  • Subject: Re: linking w/ correct libcrypto version?
  • From: Chris Ridd <email@hidden>
  • Date: Fri, 05 Dec 2003 07:30:17 +0000

On 5/12/03 6:34 am, Alex Rice <email@hidden> wrote:

> I'm hope this is an easy one- maybe a GCC or linker option.
>
> Short version
>
> How do I get the "compatibility version" of a library linked with XCode
> to be something different than what it is?

This has come up before on the cocoa-dev list - search the archives for
"Linking to libcrypto".

The OpenSSL libraries are a bit of a mess. They're *not* generally binary or
source compatible, so you can't link against 0.9.6 libs and expect it to
work when the libs become the 0.9.7 versions. You can't include the 0.9.7
headers (from Panther) and link reliably against 0.9.6 libs either.

I think the summary was that if you build with the 10.2 SDK, you'll include
the 0.9.6 headers and link against something that exists on Panther as well.

Alternatively give in and stick a private copy of libcrypto in your bundle
(or link statically). You'll then need to add a note in your readme and
program that you're including OpenSSL code.

Cheers,

Chris
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: linking w/ correct libcrypto version?
      • From: Alex Rice <email@hidden>
References: 
 >linking w/ correct libcrypto version? (From: Alex Rice <email@hidden>)

  • Prev by Date: linking w/ correct libcrypto version?
  • Next by Date: Re: linking w/ correct libcrypto version?
  • Previous by thread: linking w/ correct libcrypto version?
  • Next by thread: Re: linking w/ correct libcrypto version?
  • Index(es):
    • Date
    • Thread