pkg check -B tcpdump: libcap_dns.so.2 not found
- Reply: Tatsuki Makino : "Re: pkg check -B tcpdump: libcap_dns.so.2 not found"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 10 Nov 2023 17:34:58 UTC
The pkg-check command complains that net/tcpdump is missing a shared library, but ldd correctly identifies the file, and the command runs without complaint. Does this seem like a bug in pkg? ... in net/tcpdump? % sudo pkg check -B tcpdump Checking tcpdump: 0% (tcpdump-4.99.4_1) /usr/local/sbin/tcpdump - required shared library libcap_dns.so.2 not found Checking tcpdump: 100% % ldd /usr/local/sbin/tcpdump /usr/local/sbin/tcpdump: libcrypto.so.12 => /usr/local/lib/libcrypto.so.12 (0x14d6c4fbb000) libpcap.so.1 => /usr/local/lib/libpcap.so.1 (0x14d6c688b000) libcasper.so.1 => /lib/libcasper.so.1 (0x14d6c5b8e000) libcap_dns.so.2 => /lib/casper/libcap_dns.so.2 (0x14d6c77d4000) libc.so.7 => /lib/libc.so.7 (0x14d6c7944000) libthr.so.3 => /lib/libthr.so.3 (0x14d6c899e000) libibverbs.so.1 => /lib/libibverbs.so.1 (0x14d6c8db3000) libnv.so.0 => /lib/libnv.so.0 (0x14d6c9ef7000) [vdso] (0x7ffffffff000) % /usr/local/sbin/tcpdump --version tcpdump version 4.99.4 libpcap version 1.10.4 OpenSSL 3.0.12 24 Oct 2023