On Thu, Jul 16, 2015 at 12:41:32AM -0400, Brian Minton wrote: > When trying to verify ipv6 connectivity, I encounter the following > error trying to start ping6: > > $ ping6 google.com > ping6: error while loading shared libraries: libnettle.so.4: cannot > open shared object file: No such file or directory
ping6 does not itself link against libnettle. However, that library gets pulled in by libgnutls, which is used in ping6: $ ldd /bin/ping6 | grep gnutls libgnutls-openssl.so.27 => /usr/lib/x86_64-linux-gnu/libgnutls-openssl.so.27 (0x00007f27953c4000) libgnutls-deb0.so.28 => /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28 (0x00007f2794af7000) $ ldd /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28 | grep nettle libnettle.so.4 => /usr/lib/x86_64-linux-gnu/libnettle.so.4 (0x00007f0b62e90000) $ dpkg -S /usr/lib/x86_64-linux-gnu/libnettle.so.4 libnettle4:amd64: /usr/lib/x86_64-linux-gnu/libnettle.so.4 $ grep-available -F Depends libnettle | grep Package Package: libgnutls-deb0-28 ... However, I don't see a bug anywhere. There's a hard dependency chain from iputils-ping to libnettle: $ grep-available -F Depends libnettle | grep Package Package: libgnutls-deb0-28 $ grep-available -F Depends libgnutls-deb0-28 | grep Package Package: libgnutls-openssl27 $ grep-available -F Depends libgnutls-openssl27 | grep Package Package: iputils-ping In other words, it shouldn't be possible to have the iputils-ping package installed without libnettle. So how did that happen? What do you see from the following commands? dpkg -s libnettle4 apt-cache policy libnettle4 dpkg -s iputils-ping apt-cache policy iputils-ping dpkg -s libgnutls-deb0-28 apt-cache policy libgnutls-deb0-28 dpkg -s libgnutls-openssl27 apt-cache policy libgnutls-openssl27 noah
signature.asc
Description: Digital signature