[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting gnutls to use nettle instead of libgcrypt
From: |
Brad Hards |
Subject: |
Re: Setting gnutls to use nettle instead of libgcrypt |
Date: |
Sat, 30 Jul 2011 11:55:20 +1000 |
User-agent: |
KMail/1.13.6 (Linux/2.6.38-10-generic; KDE/4.6.2; x86_64; ; ) |
On Saturday 30 July 2011 11:18:58 Totony wrote:
> root: ldd /usr/lib/libgnutls.so
> linux-vdso.so.1 => (0x00007fff95fff000)
> libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00007ff8dc78b000)
> libnettle.so.4 => /usr/lib/libnettle.so.4 (0x00007ff8dc568000)
> libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007ff8dc2fb000)
> libhogweed.so.2 => /usr/lib/libhogweed.so.2 (0x00007ff8dc0e9000)
> libz.so.1 => /usr/lib/libz.so.1 (0x00007ff8dbed1000)
> libdl.so.2 => /lib/libdl.so.2 (0x00007ff8dbccc000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x00007ff8dbaaf000)
> libc.so.6 => /lib/libc.so.6 (0x00007ff8db74e000)
> /lib/ld-linux-x86-64.so.2 (0x00007ff8dcc74000)
Is this /usr/lib/libgnutls.so a symlink to /usr/lib/libgnutls.so.26?
> root: ldd /usr/bin/aria2
> linux-vdso.so.1 => (0x00007fffbe1ff000)
> librt.so.1 => /lib/librt.so.1 (0x00007ff5b7c9a000)
> libz.so.1 => /usr/lib/libz.so.1 (0x00007ff5b7a82000)
> libcares.so.2 => /usr/lib/libcares.so.2 (0x00007ff5b7873000)
> ->libgcrypt.so.11 => /lib/libgcrypt.so.11 (0x00007ff5b75f6000)
> ->libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0x00007ff5b7334000)
> libnettle.so.4 => /usr/lib/libnettle.so.4 (0x00007ff5b59ec000)
This says that loading aria2 will load both gcrypt and nettle. Perhaps aria2
is using them both, and only one is via libgnutls.
> So, gnutls have no reason to use libgcrypt ? (Even if the program that uses
> gnutls link libgcrypt ?)
It depends on how gnutls was built.
> I think I will fill a bug report to the package (it's not normal that aria2
> is linked to libgcrypt if it uses gnutls, is it ?).
It may not be a direct linkage.
You have made a big assumption about the relationship between libgcrypt and
aria2 - that is is via gnutls. The ldd output for /usr/lib/libgnutls.so above
suggests that assumption is wrong.
Brad
- Setting gnutls to use nettle instead of libgcrypt, Daryl Anthony Chouinard, 2011/07/29
- Re: Setting gnutls to use nettle instead of libgcrypt, Brad Hards, 2011/07/29
- Re: Setting gnutls to use nettle instead of libgcrypt, Totony, 2011/07/29
- Re: Setting gnutls to use nettle instead of libgcrypt, Brad Hards, 2011/07/29
- Re: Setting gnutls to use nettle instead of libgcrypt, Totony, 2011/07/29
- Re: Setting gnutls to use nettle instead of libgcrypt,
Brad Hards <=
- Re: Setting gnutls to use nettle instead of libgcrypt, Totony, 2011/07/30
- Re: Setting gnutls to use nettle instead of libgcrypt, Nikos Mavrogiannopoulos, 2011/07/30
- Re: Setting gnutls to use nettle instead of libgcrypt, Totony, 2011/07/30
- Re: Setting gnutls to use nettle instead of libgcrypt, Brad Hards, 2011/07/31
- Re: Setting gnutls to use nettle instead of libgcrypt, Totony, 2011/07/31
- Re: Setting gnutls to use nettle instead of libgcrypt, Brad Hards, 2011/07/30