cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: build/use curl for linux

From: Dung Nguyen <chong.xipam_at_gmail.com>
Date: Fri, 10 Jan 2014 17:39:38 +0700

seem this file missing, i had try install libldap2-dev but still the error
exists :(
*configure:20482: result: no*
*configure:20495: checking for ldap_ssl.h*
*configure:20537: gcc -c -O2 -Wno-system-headers conftest.c >&5*
*conftest.c:72:22: fatal error: ldap_ssl.h: No such file or directory*
* #include <ldap_ssl.h>*
* ^*

2014/1/8 Dan Fandrich <dan_at_coneharvesters.com>

> On Wed, Jan 08, 2014 at 09:57:39AM +0700, Dung Nguyen wrote:
> > env PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig ./configure --with-ssl
> > env PKG_CONFIG_PATH=/opt/OpenSSL/lib/pkgconfig ./configure --with-ssl
> >
> > also result in error
> >
> > checking whether to enable iOS/Mac OS X native SSL/TLS... no
> > checking for pkg-config... /usr/bin/pkg-config
> > checking for openssl options with pkg-config... found
> > configure: pkg-config: SSL_LIBS: "-lssl -lcrypto "
> > configure: pkg-config: SSL_LDFLAGS: "-L/usr/local/ssl/lib "
> > configure: pkg-config: SSL_CPPFLAGS: "-I/usr/local/ssl/include "
>
> These flags all look reasonable.
>
> > checking for CRYPTO_lock in -lcrypto... yes
>
> This shows that it's finding the crypto library just fine.
>
> > checking for SSL_connect in -lssl... no
>
> But not libssl. I suspect a problem with your OpenSSL build. You can look
> at
> the config.log file for more details of what it's doing, and you can
> manually
> check (with nm) for that symbol in your libssl.
>
> > checking for ssl with RSAglue/rsaref libs in use... checking for
> SSL_connect in
> > -lssl... (cached) no
> > no
> > configure: error: OpenSSL libs and/or directories were not found where
> > specified!
> >
> > ./configure --with-ssl=/usr/local/ssl/lib
> > /configure --with-ssl=/opt/openssl/
> > result with
> > curl version: 7.34.0
> > Host setup: i686-pc-linux-gnu
> > Install prefix: /usr/local
> > Compiler: gcc
> > SSL support: no (--with-
> > {ssl,gnutls,nss,polarssl,cyassl,axtls,winssl,darwinssl} )
> -------------------------------------------------------------------
> 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

Received on 2014-01-10