libpcap provides functions for user-level packet capture, used in low-level network monitoring.
This package is known to build and work properly using an LFS-7.6 systemd platform.
Download (HTTP): http://www.tcpdump.org/release/libpcap-1.6.2.tar.gz
Download MD5 sum: 5f14191c1a684a75532c739c2c4059fa
Download size: 636 KB
Estimated disk space required: 7.1 MB
Estimated build time: less than 0.1 SBU
Recommended patch: http://www.linuxfromscratch.org/patches/blfs/systemd/libpcap-1.6.2-enable_bluetooth-1.patch (Needed for bluez-5.21)
Install libpcap by running the following commands:
patch -Np1 -i ../libpcap-1.6.2-enable_bluetooth-1.patch && ./configure --prefix=/usr && make
This package does not come with a test suite.
If you want to disable installing the static library, use this sed:
sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile
Now, as the
Necessary, if the recommended patch is not applied, because since
1.6.1 this application needs a fix, in order to build with
--disable-dbus: Use this switch if you
wish to disable D-Bus support.
Last updated on 2014-09-08 05:23:44 +0000