cURL / Mailing Lists / curl-library / Single Mail


Re: No return for SSL enabled libcurl C program

From: Daniel Stenberg <>
Date: Fri, 15 Apr 2005 23:30:42 +0200 (CEST)

On Fri, 15 Apr 2005 wrote:

> 1) I tried to build a libcurl with most recent code, but couldn't get SSL
> "turned on". It always returned:
> checking for CRYPTO_lock in -lcrypto... no
> checking for CRYPTO_add_lock in -lcrypto... no
> configure: WARNING: crypto lib was not found; SSL will be disabled
> and I couldn't decide what needed to be done. I used CYGWIN and:
> ./configure --with-ssl=/usr/src/openssl-0.9.7g-1
> (I'm new at this part - perhaps missing something)

Yes, the --with-ssl option should point to your OpenSSL installation root. Not
to the source code.

> 2) Code that doesn't work is https.c sample modified as I mentioned:

It works fine for me on Linux.

  Commercial curl and libcurl Technical Support:
Received on 2005-04-15