Wireshark-users: Re: [Wireshark-users] libpcap library usage
From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Wed, 28 May 2008 14:02:12 -0400


Faraz Shamim wrote:
Hi All,

I am trying to use libpcap with wireshark. I have
compiled libpcap with a special API and it went OK. I
have libpcap in /usr/local/lib/libpcap.a and it is
included in my lib path in my .cshrc

setenv LDFLAGS "-L/usr/local/lib"

but when I run configure why it says at the end that
 Use libcap library : no

Any help will be highly appreciated.

Try:

./configure --with-pcap=/usr/local

(You also need to put the libpcap header files in /usr/local for that to work...)