Wireshark-users: Re: [Wireshark-users] libpcap library usage

From: Faraz Shamim <faraz_shamim@xxxxxxxxx>
Date: Wed, 28 May 2008 11:24:25 -0700 (PDT)
Thanks Jeff. I tried your suggestion but still no
luck:

             Build profile binaries : no
                   Use pcap library : yes
                   Use zlib library : yes
                   Use pcre library : no
               Use kerberos library : no
               Use GNU ADNS library : no
                Use SMI MIB library : no
             Use GNU crypto library : no
             Use SSL crypto library : no
           Use IPv6 name resolution : no
                 Use gnutls library : no
                 Use libcap library : no
                 ^^^^^^^^^^^^^^^^^^^^^^^^

All the pcap stuff are either in /usr/local/lib OR in
/usr/local/include:

/usr/local/lib/libpcap.a
/usr/local/include/pcap-namedb.h
/usr/local/include/pcap-bpf.h
/usr/local/include/pcap.h
/usr/local/man/man3/pcap.3


Thanks,

Faraz


--- Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> wrote:

> 
> 
> 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...)
> _______________________________________________
> Wireshark-users mailing list
> Wireshark-users@xxxxxxxxxxxxx
>
http://www.wireshark.org/mailman/listinfo/wireshark-users
>