cURL / Mailing Lists / curl-library / Single Mail


Re: build/use curl for linux

From: Dung Nguyen <>
Date: Tue, 7 Jan 2014 09:43:27 +0700

ok, i was trying build curl + ssl
at first i download curl src, open ssl src, put all in desktop

i install openssl
sudo make
sudo make install

trying to configure curl
* 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} )*
* SSH support: no (--with-libssh2)*
* zlib support: enabled*
* GSSAPI support: no (--with-gssapi)*
* SPNEGO support: no (--with-spnego)*
* TLS-SRP support: no (--enable-tls-srp)*
* resolver: default (--enable-ares / --enable-threaded-resolver)*
* ipv6 support: enabled*
* IDN support: no (--with-{libidn,winidn})*
* Build libcurl: Shared=yes, Static=yes*
* Built-in manual: enabled*
* --libcurl option: enabled (--disable-libcurl-option)*
* Verbose errors: enabled (--disable-verbose)*
* SSPI support: no (--enable-sspi)*
* ca cert bundle: /etc/ssl/certs/ca-certificates.crt*
* ca cert path: no*
* LDAP support: no (--enable-ldap / --with-ldap-lib /
* LDAPS support: no (--enable-ldaps)*
* RTSP support: enabled*
* RTMP support: no (--with-librtmp)*
* metalink support: no (--with-libmetalink)*
* HTTP2 support: disabled (--with-nghttp2)*

okay but i found ssl support = no

so i read from here :
and trying with
./configure --with-ssl

*checking whether to enable Windows native SSL/TLS (Windows native builds
only)... no*
*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*
*configure: error: OpenSSL libs and/or directories were not found where

i check directory that ssl installed
*bin etc games include lib man sbin share src ssl*
*dung_at_ubuntu:/usr/local$ cd ssl*
*dung_at_ubuntu:/usr/local/ssl$ ls*
*bin certs include lib man misc openssl.cnf private*
*dung_at_ubuntu:/usr/local/ssl$ cd lib*
*dung_at_ubuntu:/usr/local/ssl/lib$ ls*
*engines libcrypto.a libssl.a pkgconfig*
*dung_at_ubuntu:/usr/local/ssl/lib$ ls*
*engines libcrypto.a libssl.a pkgconfig*
*dung_at_ubuntu:/usr/local/ssl/lib$ *

i think openssl install correct but why there are error ?

2014/1/7 VŠclav Zeman <>

> Please describe what fails for you in detail.
> On 06/01/2014, Dung Nguyen <> wrote:
> > hi!
> > i need to port my application from Windows to Ubuntu/Arm Linux
> > i'm jz noob in linux, my application use Lazarus/Pascal header of curl
> >
> > i'm trying to build the curl from source in Ubuntu but seem it not work,
> > what is the correct way of usage libcurl in linux ?
> >
> --
> VZ
> -------------------------------------------------------------------
> List admin:
> Etiquette:

List admin:
Received on 2014-01-07