cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl compatibility with OpenSSL

From: Daniel Johnson <daniel.johnson31_at_gmail.com>
Date: Sat, 24 Mar 2012 17:50:19 -0400

On Mar 23, 2012, at 5:06 PM, Michele Stutzman wrote:

> We are using and distributing libcurl 7.24.0 built with SSL enabled with our application.
>
> Should we need to distribute OpenSSL v0.9.8 which is what "otool –L libcurl.4.dylib" tells us is the compatible version as well or is it safe to use what is installed on the customers' systems? Currently, we are only on Mac OS X.
>
> libcurl.4.dylib:
> /Volumes/Source/dmp/main/common/external/libs/curl/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 7.0.0)
> /usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)
> /usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)
> /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)

It depends on the version of Mac OS X you want to support.

10.6 and 10.7 come with OpenSSL 0.9.8
10.5 comes with 0.9.7
10.4 comes with 0.9.6

So you don't need to ship OpenSSL unless you want to support 10.5 or earlier. Alternatively, you could build against an older OpenSSL instead as even 10.7 still has the 0.9.6 and 0.9.7 libs in /usr/lib.

Daniel

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-24