cURL / Mailing Lists / curl-library / Single Mail

curl-library

Building libcurl with GSKit

From: Praks New <praks.new_at_gmail.com>
Date: Wed, 6 Jan 2016 10:14:30 +0530

Hi All,

We need your help in building libcurl library with GSKit support. Our
application (writtern in C++) is using libcurl APIs for invoking REST APIs
over HTTPs.
We are planning to use libcurl 7.44 version. I need help on how to build
libcurl with GSKit as SSL instead OpenSSL as ssl library.
We need to build libcurl on AIX 6.x, Linux RHEL 3.x/4.x/5.x/6.x and
Windows. We want to build it in 64-bit mode.
I tried to build libcurl with following options, but no luck. Could you
share steps or any documents/web link?

./configure --without-ssl --with-gskit --without-zlib --prefix
/data/curl/curl744/

  curl version: 7.44.0
  Host setup: x86_64-unknown-linux-gnu
  Install prefix: /data/curl/curl744/
  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)
  Unix sockets 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: /usr/share/ssl/certs/ca-bundle.crt
  ca cert path: no
  LDAP support: enabled (OpenLDAP)
  LDAPS support: enabled
  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 LDAP LDAPS POP3 RTSP
SMTP TELNET TFTP
[test_at_testworld curl-7.44.0]$ make && make install
[test_at_testworld curl-7.44.0]$ ldd ../curl744/lib/libcurl.so
        libldap.so.2 => /usr/lib64/libldap.so.2 (0x0000002a957d4000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95903000)
        libsasl.so.7 => /usr/lib64/libsasl.so.7 (0x0000002a95b48000)
        libssl.so.4 => /lib64/libssl.so.4 (0x0000002a95c55000)
        libcrypto.so.4 => /lib64/libcrypto.so.4 (0x0000002a95d90000)
        liblber.so.2 => /usr/lib64/liblber.so.2 (0x0000002a95fc3000)
        /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
(0x0000002a95556000)
        libgdbm.so.2 => /usr/lib64/libgdbm.so.2 (0x0000002a960ce000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000002a961d5000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000002a962d9000)
        libpam.so.0 => /lib64/libpam.so.0 (0x0000002a9640c000)
        libgssapi_krb5.so.2 => /usr/kerberos/lib64/libgssapi_krb5.so.2
(0x0000002a96515000)
        libkrb5.so.3 => /usr/kerberos/lib64/libkrb5.so.3
(0x0000002a9662c000)
        libcom_err.so.3 => /usr/kerberos/lib64/libcom_err.so.3
(0x0000002a96795000)
        libk5crypto.so.3 => /usr/kerberos/lib64/libk5crypto.so.3
(0x0000002a96897000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x0000002a969ac000)
        liblaus.so.1 => /lib64/liblaus.so.1 (0x0000002a96aba000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x0000002a96bbd000)
[test_at_testworld curl-7.44.0]

Regards,
Praks

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2016-01-06