cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Compile for HPUX with OpenSSL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 21 Apr 2002 16:59:30 +0200 (MET DST)

On Fri, 19 Apr 2002, John Horn wrote:

> I installed the pre-compiled OpenSSL package from the HPUX Porting Centre.
> (It ends up in "/opt/openssl"). Next, I downloaded the source for cURL and
> tried to compile it (configure --with-ssl), getting the messages:
> ...
> 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!
>
> Next, I tried "configure --with-ssl=/opt/openssl", getting the same results.
> I also tried setting the lib and include paths in my environment.

Can you display parts of your config.log file to show us the OpenSSL tests
being done? Did the configure script find the OpenSSL headers?

Did you try to set LDFLAGS and CPPFLAGS as described in the docs/INSTALL
document?

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-04-21