tcpdump mailing list archives

Re: How to tell if application is handling packets


From: Robert Edmonds <edmonds () debian org>
Date: Mon, 28 Dec 2009 22:03:44 +0000 (UTC)

On 2009-12-26, Guy Harris <guy () alum mit edu> wrote:
and, yes, even with a package listed as version 0.8, the libpcap
version might be something else - for some reason, Debian (and Ubuntu)
call it "libpcap 0.8" even though they've upgraded to a later version
of the library.

there is no "libpcap 0.8" package in debian.  there is a libpcap0.8 version
0.9.8-5 package in debian stable and a libpcap0.8 version 1.0.0-6 package in
debian unstable.  i.e., "libpcap0.8" is a package name, not a package name and
package version.

    edmonds@chase{0}:~$ dpkg -l libpcap0.8
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name               Version            Description
    +++-==================-==================-====================================================
    ii  libpcap0.8         1.0.0-6            system interface for user-level packet capture
    edmonds@chase{0}:~$ dlocate libpcap.so
    libpcap0.8-dbg: /usr/lib/debug/usr/lib/libpcap.so.1.0.0
    libpcap0.8-dev: /usr/lib/libpcap.so
    libpcap0.8: /usr/lib/libpcap.so.1.0.0
    libpcap0.8: /usr/lib/libpcap.so.0.8
    edmonds@chase{0}:~$ ls -l /usr/lib/libpcap.*
    -rw-r--r-- 1 root root 342K Dec 12 12:05 /usr/lib/libpcap.a
    lrwxrwxrwx 1 root root   14 Dec 15 19:55 /usr/lib/libpcap.so -> libpcap.so.0.8
    lrwxrwxrwx 1 root root   16 Dec 15 19:55 /usr/lib/libpcap.so.0.8 -> libpcap.so.1.0.0
    -rw-r--r-- 1 root root 195K Dec 12 12:05 /usr/lib/libpcap.so.1.0.0
    edmonds@chase{0}:~$ objdump -p /usr/lib/libpcap.so.1.0.0 | grep SONAME
      SONAME               libpcap.so.0.8
    edmonds@chase{0}:~$ 

debian binary shared library package names embed the SONAME version to allow
multiple major versions of a shared library to be simultaneously installed.

libpcap0.8 was added to the debian archive alongside libpcap0.7 in april
2004.  from reviewing the libpcap0.8 changelog there has never been a
need to bump the SONAME since.

libpcap0.8 (0.9.3-1) unstable; urgency=low

  * New upstream release: this is a new major version of libpcap but it is
    API and ABI compatible with libpcap0.8 so the old soname and package
    names were kept to avoid uncessary transition of all packages.

    [...]

 -- Romain Francoise <rfrancoise () debian org>  Sat, 16 Jul 2005 14:14:20 +0200

-- 
Robert Edmonds
edmonds () debian org

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: