curl-users
Re: Installing Curl with SSL support
Date: Wed, 11 Sep 2002 10:24:59 +0200 (MET DST)
On Tue, 10 Sep 2002, Nicholas Parsons wrote:
> I just tried to install curl with ssl support enabled on a sco openserver
> release 5 machine and got a error when I ran the configure script from the
> command line like this:
> % ./configure --with-ssl=/usr/local/ssl
>
> The configure script bailed out on me at this point:
> checking for Kerberos4 support is requested... no
> checking for CRYPTO_lock in -lcrypto... no
> checking for CRYPTO_add_lock in -lcrypto... no
> configure: error: OpenSSL libs and/or directories were not found
> where specified.
Can you dig up the config.log file and see if that gives you any insight on
the failure?
I trust you tried this with curl 7.9.8?
> First of all, I installed openSSL version 0.9.6 successfully on this
> machine and the libcrypto.a and libssl.a files are in the
> /usr/local/ssl/lib directory on the machine. I tried using nm with the
> libcrypto.a file, redirecting this to a file and then searching this file
> for CRYPTO_lock and CRYPTO_add_lock. I found both and both were defined in
> this file.
They were defined, sure, but the library check requires that the
test-function links OK, which may fail if there's also another library
required for exmaple that wasn't around/used at the time. That's why
config.log is the best thing to start investigating.
-- Daniel Stenberg -- curl related mails on curl related mailing lists please ------------------------------------------------------- In remembrance www.osdn.com/911/Received on 2002-09-11