I did this
On Ubuntu 12.04 I tried to get rid of gnutls support due to issues connecting to TLSv1_2 server and it seemed pretty obvious to run:
./configure --prefix=$HOME --without-gnutls
configure: Configured to build curl/libcurl:
curl version: 7.48.0
Host setup: x86_64-pc-linux-gnu
Install prefix: /home/nick.zeljkovic
Compiler: gcc
SSL support: enabled (OpenSSL)
SSH support: no (--with-libssh2)
zlib support: enabled
GSS-API support: no (--with-gssapi)
TLS-SRP support: enabled
resolver: default (--enable-ares / --enable-threaded-resolver)
IPv6 support: enabled
Unix sockets support: enabled
IDN support: enabled
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
ca fallback: no
LDAP support: enabled (OpenLDAP)
LDAPS support: enabled
RTSP support: enabled
RTMP support: enabled (librtmp)
metalink support: no (--with-libmetalink)
PSL support: no (libpsl not found)
HTTP2 support: disabled (--with-nghttp2)
Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS POP3 POP3S RTMP RTSP SMB SMBS SMTP SMTPS TELNET TFTP
I expected the following
$ ldd ./lib/.libs/libcurl.so|grep gnutls
libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26 (0x00007ffa2935e000)
not to be linked against it.
curl/libcurl version
7.48.0
operating system
Ubuntu 12.04
I did this
On Ubuntu 12.04 I tried to get rid of gnutls support due to issues connecting to TLSv1_2 server and it seemed pretty obvious to run:
./configure --prefix=$HOME --without-gnutlsI expected the following
not to be linked against it.
curl/libcurl version
7.48.0
operating system
Ubuntu 12.04