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.
下载地址(HTTP):https://www.tcpdump.org/release/libpcap-1.10.6.tar.gz
MD5 校验和:f49b1c1877dcbb3b7f5147429aa047f9
大小:968 KB
预计所需磁盘空间:11 MB
预计构建时间:小于 0.1 SBU
BlueZ-5.87, libnl-3.12.0, libusb-1.0.30, 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