cURL / Mailing Lists / curl-library / Single Mail


Re: Unable to use libcurl to a site requiring client authentication

From: Paul Howarth <>
Date: Fri, 27 May 2011 09:41:00 +0100

On 05/27/2011 08:46 AM, Jayaprakasam, Kannan wrote:
> I have requested root access to install the rpm you mentioned and
> waiting for it.
> Meanwhile I found that the curl library we are using is being built
> internally from downloaded source code. I tried building from the source
> myself but the the "configure" script is not building with ssl support:
> configure: WARNING: SSL disabled, you will not be able to use HTTPS,
> FTPS, NTLM and more.
> configure: WARNING: Use --with-ssl or --with-gnutls to address this.
> configure: WARNING: configure found only the libz header file, not the
> lib!
> I have set the env variables
> set CPPFLAGS="-I/usr/include/openssl"
> set LDFLAGS="-L/lib64"
> and am running ./configure.
> I have the openssl libraries in
> /lib64/
> /lib64/
> /lib64/
> /lib64/
> /lib64/
> /lib64/
> /usr/lib64/openssl
> And the header files such as
> /usr/include/openssl/ssl.h
> Why doesn't it build with ssl support? The INSTALL file says it builds
> with ssl support by default if it can locate the ssl libraries.

The error message suggests that it's libz that it couldn't find, not the
SSL libraries themselves.

Try this:

export CPPFLAGS="$(pkg-config --cflags openssl)"
./configure --libdir=/usr/lib64 --with-ssl=/usr

And if you're building from source, you won't need my rpm packages.

List admin:
Received on 2011-05-27