cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: build/use curl for linux

From: Dung Nguyen <chong.xipam_at_gmail.com>
Date: Wed, 8 Jan 2014 09:57:39 +0700

 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 "*
*checking for CRYPTO_lock in -lcrypto... yes*
*checking for SSL_connect in -lssl... no*
*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} )

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

> On Tue, Jan 07, 2014 at 09:43:27AM +0700, Dung Nguyen wrote:
> > ok, i was trying build curl + ssl
> > at first i download curl src, open ssl src, put all in desktop
> > curl
> > curl/opt/openssl
> >
> > i install openssl
> > ./config
> > sudo make
> > sudo make install
> >
> > trying to configure curl
> > ./configure
> [...]
> > okay but i found ssl support = no
> >
> > so i read from here : http://curl.haxx.se/docs/install.html
> > and trying with
> > ./configure --with-ssl
>
> You'll likely have better luck using the PKG_CONFIG_PATH method mentioned
> just
> after that section, or specifying the install location to the --with-ssl
> option.
>
> >>> Dan
> -------------------------------------------------------------------
> 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-08