[bug-notifications] [libpcap1 0004859]: iftop does not work with libpcap
Mantis Bug Tracker
noreply at opencsw.org
Thu Nov 10 14:31:46 CET 2011
The following issue has been CLOSED
======================================================================
https://www.opencsw.org/mantis/view.php?id=4859
======================================================================
Reported By: damjan
Assigned To: dam
======================================================================
Project: libpcap1
Issue ID: 4859
Category: regular use
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2011-11-10 13:54 CET
Last Modified: 2011-11-10 14:31 CET
======================================================================
Summary: iftop does not work with libpcap
Description:
iftop does not work with the new libpcap. If I revert libpcap to version
1.0.0 version then iftop works again. See issue #[4557].
Working version:
root at ra:~# pkginfo -l CSWlibpcap
PKGINST: CSWlibpcap
NAME: libpcap - System-independent interface for user-level packet
capture
CATEGORY: application
ARCH: sparc
VERSION: 1.0.0,REV=2009.10.01
BASEDIR: /
VENDOR: http://www.tcpdump.org/release/ packaged for CSW by Dagobert
Michelsen
PSTAMP: dam at build8s-20091001215534
INSTDATE: Jan 12 2010 18:50
HOTLINE: http://www.opencsw.org/bugtrack/
EMAIL: dam at opencsw.org
STATUS: completely installed
FILES: 13 installed pathnames
2 shared pathnames
3 directories
3 executables
1684 blocks used (approx)
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0004557 iftop displays zeroes for all values
======================================================================
----------------------------------------------------------------------
(0009399) dam (administrator) - 2011-11-10 14:31
https://www.opencsw.org/mantis/view.php?id=4859#c9399
----------------------------------------------------------------------
The problem is that the old iftop linked against SONAME-unspecific
libpcap.so leading to wrong linkage:
unstable9s% ldd /opt/csw/sbin/iftop
/usr/lib/secure/s9_preload.so.1
libpthread.so.1 => /usr/lib/libpthread.so.1
libpcap.so => /opt/csw/lib/sparcv8plus/libpcap.so
libnsl.so.1 => /usr/lib/libnsl.so.1
...
The issue has long been fixed in libpcap. iftop needs a rebuild against the
current libpcap.so.1.
More information about the bug-notifications
mailing list