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 11.3 platform.
Download (HTTP): https://www.tcpdump.org/release/libpcap-1.10.3.tar.gz
Download MD5 sum: c42fde2eb75a5075f19116f8c9768573
Download size: 932 KB
Estimated disk space required: 11 MB
Estimated build time: less than 0.1 SBU
BlueZ-5.66, libnl-3.7.0, libusb-1.0.26, Software distribution for the DAG, and Septel range of passive network monitoring cards.
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libpcap
Install libpcap by running the following commands:
./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 root
user:
make install