cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Link problem: SunOS 5.10, libcurl 7.38.0, openssl 1.0.1i

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 3 Oct 2014 07:11:41 +0200

On Thu, Oct 02, 2014 at 02:28:54PM -0400, Michael Mueller wrote:
> Summary of problem : libcurl config.log shows openssl 1.0.1i is used;
> binaries produced by make and make install are using much older
> openssl libraries

The curl build compiles against the special OpenSSL library you provided
at compile time, but your system doesn't know about that library so it provides
the default system OpenSSL library at run-time. You need to either provide the
dynamic linker information about the path of the desired library at run-time
(probably using LD_LIBRARY_PATH), change the build to hard-code the library
path you want (probably not what you want since the library is in a /home
directory), or statically link against OpenSSL (making security upgrades more
difficult).

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-10-03