curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Difference in libcurl dependencies between 7.41 and 7.57

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 26 Apr 2018 08:42:37 +0200 (CEST)

On Thu, 26 Apr 2018, belussi1988 wrote:

> 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]

These two libs are OpenSSL

> 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]

These four are GnuTLS and its dependencies.

> 0x00000001 (NEEDED) Shared library: [libssl.so.1.0.0]
> 0x00000001 (NEEDED) Shared library: [libcrypto.so.1.0.0]

And here's OpenSSL.

> 0x00000001 (NEEDED) Shared library: [libpthread.so.0]

libcurl defaults to threaded resolver these days so that might explain this.

> Both are compiled with -wtih-gnutls flag.
> Does 7.41 have this libs compiled in statically?

If it indeed uses GnuTLS it has to be static if it doesn't list it as
dynamic dependency.

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