libpcap provides functions for user-level packet capture, used in low-level network monitoring.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://www.tcpdump.org/release/libpcap-1.10.4.tar.gz
Download MD5 sum: 0322e28dd76cda8066bb6d00fee5969b
Download size: 932 KB
Estimated disk space required: 9.9 MB
Estimated build time: less than 0.1 SBU
BlueZ-5.70, libnl-3.8.0, libusb-1.0.26, Software distribution for the DAG, and Septel range of passive network monitoring cards.
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