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.7 platform.
This package is known to build and work properly using the gcc-5 compiler.
Download (HTTP): http://www.tcpdump.org/release/libpcap-1.7.4.tar.gz
Download MD5 sum: b2e13142bbaba857ab1c6894aedaf547
Download size: 648 KB
Estimated disk space required: 9 MB
Estimated build time: less than 0.1 SBU
Recommended patch: http://www.linuxfromscratch.org/patches/blfs/svn/libpcap-1.7.4-enable_bluetooth-1.patch (Needed for bluez-5.21)
Install libpcap by running the following commands:
patch -Np1 -i ../libpcap-1.7.4-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
Last updated on 2015-06-28 20:16:56 +0000