cURL / Mailing Lists / curl-library / Single Mail

curl-library

compile libcurl with static zlib and static openssl

From: teach me <sw.teach.me_at_gmail.com>
Date: Mon, 8 Dec 2014 01:33:49 +0200

My environment is debian wheezy on raspberry pi.

I have the following folder tree:
  ├── zlib-1.2.8
  ├ ├── lib sources
  ├ ├── libz.a
  ├
  ├── openssl-1.0.1j
  ├ ├── lib sources
  ├ ├── libcrypto.a
  ├ ├── libssl.a
  ├
  ├── curl-7.39.0
  ├

I'm trying to compile libcurl with libz.a and libssl.a with no success.

This is the configure line I tried
  $ cd ~/curl-7.39.0
  $ ./configure --disable-shared --with-zlib=$HOME/zlib-1.2.8
--with-ssl=$HOME/openssl-1.0.1j

The result for the above configuration doesn't include SSL support nor ZLIB
support:
  curl version: 7.39.0
  Host setup: armv6l-unknown-linux-gnueabihf
  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: no (--with-zlib)
  GSS-API support: no (--with-gssapi)
  TLS-SRP support: no (--enable-tls-srp)
  resolver: default (--enable-ares / --enable-threaded-resolver)
  ipv6 support: no (--enable-ipv6)
  IDN support: no (--with-{libidn,winidn})
  Build libcurl: Shared=no, 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 /
--with-lber-lib)
  LDAPS support: no (--enable-ldaps)
  RTSP support: enabled
  RTMP support: no (--with-librtmp)
  metalink support: no (--with-libmetalink)
  HTTP2 support: disabled (--with-nghttp2)
  Protocols: DICT FILE FTP GOPHER HTTP IMAP POP3 RTSP SMTP TELNET
TFTP

Any idea?
    Regards

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-08