Closed dm-msk closed 3 weeks ago
Hi!
This looks like a problem in the Official Debian 12 backports package.
Maybe @linuxmaniac can assist you here or redirect you to the correct bug reporting site of Debian.
Thanks in advance!
I can start with no issue sngrep
root@test:~# dpkg -l | grep libssl
ii libssl3:amd64 3.0.14-1~deb12u2 amd64 Secure Sockets Layer toolkit - shared libraries
root@test:~# dpkg -l | grep libgcrypt20
ii libgcrypt20:amd64 1.10.1-3 amd64 LGPL Crypto library - runtime library
root@test:~# dpkg -l | grep libgnutls30
ii libgnutls30:amd64 3.7.9-2+deb12u3 amd64 GNU TLS library - main runtime library
root@test:~# dpkg -l | grep sngrep
ii sngrep 1.8.2-1~bpo12+1 amd64 Ncurses SIP Messages flow viewer
root@test:~# apt-cache show sngrep
Package: sngrep
Version: 1.8.2-1~bpo12+1
Installed-Size: 290
Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
Architecture: amd64
Depends: libc6 (>= 2.34), libgcrypt20 (>= 1.10.0), libgnutls30 (>= 3.7.5), libncursesw6 (>= 6), libpcap0.8 (>= 1.0.0), libpcre2-8-0 (>= 10.22), libtinfo6 (>= 6)
Description-en: Ncurses SIP Messages flow viewer
sngrep displays SIP Messages grouped by Call-Id into flow
diagrams. It can be used as an offline pcap viewer or online
capture using libpcap functions.
.
It supports SIP UDP and TCP transports (when each message is
delivered in one packet).
Description-md5: 03841ebe934e6e88b1ef53bfb4f2e103
Homepage: https://github.com/irontec/sngrep
Section: comm
Priority: optional
Filename: pool/main/s/sngrep/sngrep_1.8.2-1~bpo12+1_amd64.deb
Size: 86844
SHA256: e7a5a53c6225f64fe15f5f08a20949c779f923a660dead10333efb4af8765be1
root@test:~# ldd /usr/bin/sngrep
linux-vdso.so.1 (0x00007ffe6eff7000)
libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007b6e17600000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007b6e174b9000)
libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007b6e178c1000)
libmenuw.so.6 => /lib/x86_64-linux-gnu/libmenuw.so.6 (0x00007b6e178b6000)
libformw.so.6 => /lib/x86_64-linux-gnu/libformw.so.6 (0x00007b6e178a3000)
libpanelw.so.6 => /lib/x86_64-linux-gnu/libpanelw.so.6 (0x00007b6e1789a000)
libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007b6e17860000)
libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007b6e1782d000)
libpcap.so.0.8 => /lib/x86_64-linux-gnu/libpcap.so.0.8 (0x00007b6e1746d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007b6e1728c000)
libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007b6e17158000)
libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007b6e17127000)
libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 (0x00007b6e16f71000)
libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007b6e16f5c000)
libnettle.so.8 => /lib/x86_64-linux-gnu/libnettle.so.8 (0x00007b6e16f0e000)
libhogweed.so.6 => /lib/x86_64-linux-gnu/libhogweed.so.6 (0x00007b6e16ec5000)
libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007b6e16e44000)
/lib64/ld-linux-x86-64.so.2 (0x00007b6e179a9000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007b6e16e1c000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007b6e16dc6000)
libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007b6e1781d000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007b6e16cf6000)
libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007b6e16cea000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007b6e16cb9000)
libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007b6e16bfd000)
liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007b6e16bd7000)
Thanks for your input!!
So, official Debian package is compiled using GnuTLS and not libssl.
@dm-msk your sngrep binary can not be the one you've listed in your dpkg -l output because is complaining about libssl.
Please, check where the binary is located (whereis sngrep
) and ensure you're using the packaged version. You could also try reinstalling from debian repository.
Best regards,
Thank you.
# whereis sngrep
sngrep: /usr/bin/sngrep /usr/local/bin/sngrep /usr/share/man/man8/sngrep.8.gz
/usr/bin/sngrep work with no issue
Then the problem is that there is a local (probably compiled) version of sngrep that is not up to date with your system libraries. So this is not a problem in sngrep but your environment.
Please remove that local version and use official Debian version or recompile with your new system libraries.
Thanks Victor for your support!!
Hello
sngrep
sngrep: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
lsb_release -a
No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm
dpkg -l | grep sngrep
ii sngrep 1.8.2-1~bpo12+1 amd64 Ncurses SIP Messages flow viewer
dpkg -l | grep libssl
ii libssl-dev:amd64 3.0.14-1~deb12u2 amd64 Secure Sockets Layer toolkit - development files ii libssl1.1:amd64 1.1.1n-0+deb11u5 amd64 Secure Sockets Layer toolkit - shared libraries ii libssl3:amd64 3.0.14-1~deb12u2 amd64 Secure Sockets Layer toolkit - shared libraries