curl / Mailing Lists / curl-library / Single Mail

curl-library

Difference in libcurl dependencies between 7.41 and 7.57

From: belussi1988 <belussi.pl_at_gmail.com>
Date: Thu, 26 Apr 2018 08:32:00 +0200

Hi,

For a very long time I was using in my system libcurl version 7.41 which
was depended on the following 3rd party libs:

readelf -a /usr/lib/libcurl.so | grep NEEDED
0x00000001 (NEEDED) Shared library: [libssl.so.1.0.0]
0x00000001 (NEEDED) Shared library: [libcrypto.so.1.0.0]
0x00000001 (NEEDED) Shared library: [libz.so.1]
0x00000001 (NEEDED) Shared library: [librt.so.1]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]

After switch to 7.57 and running compilation in the same way I realized
that list dependencies contains some extra items related to GnuTls:

readelf -a /usr/lib/libcurl.so | grep NEEDED
0x00000001 (NEEDED) Shared library: [libgnutls.so.28]
0x00000001 (NEEDED) Shared library: [libnettle.so.4]
0x00000001 (NEEDED) Shared library: [libhogweed.so.2]
0x00000001 (NEEDED) Shared library: [libgmp.so.10]
0x00000001 (NEEDED) Shared library: [libssl.so.1.0.0]
0x00000001 (NEEDED) Shared library: [libcrypto.so.1.0.0]
0x00000001 (NEEDED) Shared library: [libz.so.1]
0x00000001 (NEEDED) Shared library: [librt.so.1]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [libc.so.6]

Both are compiled with -wtih-gnutls flag.

Does 7.41 have this libs compiled in statically?

Pozdrawiam,
Kamil Gardziejczyk

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-04-26