cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl / version of ssl on Solaris

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 23 Jun 2011 09:42:40 -0700

On Thu, Jun 23, 2011 at 03:38:50PM +0000, Hoggarth, Chris wrote:
> The Unix section of the install notes says this:
>
> The configure script always tries to find a working SSL library unless
> explicitly told not to. If you have OpenSSL installed in the default search
> path for your compiler/linker, you don't need to do anything special. If
> you have OpenSSL installed in /usr/local/ssl, you can run configure like:
>
> ./configure --with-ssl
>
> & that's how I ran configure. $LD_LIBRARY_PATH seems to be set correctly & ssl is installed in this directory:

But, presumably, that version of OpenSSL is the 0.9.7 version. If you want
to use the 0.9.8 version, you'll need to explicitly select an alternate
location using the instructions further on in that file.

> We do also have libssl.so.0.9.7 installed on the server but it's at /usr/sfw/lib which is Samba only as I understand it?

Wherever it is, it looks like the libcurl build is picking up the 0.9.7
version at compile time.

> Does my curl error mean that it's somehow complied expecting /usr/sfw/lib/libssl.so.0.9.7 but when I try to run it's looking at /usr/local/ssl/lib/libssl.so.0.9.8?

It's not looking for 0.9.8 but 0.9.7 and can't find it. Try setting
LD_LIBRARY_PATH=/usr/sfw/lib and it should find it.

> I'll go back to basics & try a reinstall but if anyone can see anything that may be wrong please let me know.

The libssl.so library used at link time points to a version of libssl that
isn't found in the standard locations available at run time. It does appear
that there is an install problem with one or both of the libssl versions
on the system.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-23