Hi
I tried your suggestion
setenv CPPFLAGS "-I/usr/kerberos/include"  (pkg-config --cflags openssl
returned -I/usr/Kerberos/include, using setenv since C shell doesn't
have export command)

And I have ssl libs both in /lib64 and /usr/lib64
[debugbld@honda CURL_7.15.1_infa9.0.0]$ ls /usr/lib64/libssl*
/usr/lib64/libssl.a   /usr/lib64/libssl3.so /usr/lib64/libssl.so
/usr/lib64/libssldap60.so

[debugbld@honda CURL_7.15.1_infa9.0.0]$ ls /lib64/libssl*
/lib64/libssl.so.0.9.8e  /lib64/libssl.so.6

so I tried both
./configure --libdir=/usr/lib64 --with-ssl=/usr
And
./configure --libdir=/lib64 --with-ssl=/

But still I met with the same result in both cases - it doesn't build
with ssl. Any idea?

Thanks
Kannan
 
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Paul Howarth
Sent: 27 May 2011 14:11
To: [email protected]
Subject: Re: Unable to use libcurl to a site requiring client
authentication

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/.libcrypto.so.0.9.8e.hmac
> /lib64/.libcrypto.so.6.hmac
> /lib64/libcrypto.so.0.9.8e
> /lib64/libcrypto.so.6
> /lib64/libssl.so.0.9.8e
> /lib64/libssl.so.6
> /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.

Paul.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to