libpcap-1.5.3

Introduction to libpcap

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.5 platform.

Package Information

libpcap Dependencies

Optional

BlueZ-4.101, Software distribution for the DAG, libnl-3.2.24, libusb-1.0.18 and Septel range of passive network monitoring cards.

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libpcap

Installation of 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

Contents

Installed Program: libpcap-config
Installed Libraries: libpcap.{a,so}
Installed Directory: /usr/include/pcap

Short Descriptions

libpcap-config

provides configuration information for libpcap.

libpcap.{a,so}

are libraries used for user-level packet capture.

Last updated on 2014-02-17 15:16:31 -0800