I followed the helpful suggestion below from Jens Kuehnel and installed 
libpcap-devel.  Error when I run configure now is "Unable to find matching 
library for header file in /usr".  The files from the package were installed as 
follows -

rpm -ql libpcap-devel
/usr/include/pcap-bpf.h
/usr/include/pcap-namedb.h
/usr/include/pcap.h
/usr/lib/libpcap.so
/usr/share/man/man3/pcap.3.gz

I tried using option "-with-libpcap=/usr", "with-libpcap=/usr/lib" and 
"with-libpcap=/usr/include", setting LD_LIBRARY_PATH to include /usr/lib, all 
to no avail.  As before, any suggestions greatly appreciated.

One difference - this was done with Fedora release 9 (Sulphur), my personal 
Linux workstation where I can install packages as root.  Until I installed 
libpcap-devel I was getting the same error on this machine as previously 
reported.

Thanks,

Charles

Hi Charles,

you want to compile (aka. develop) a software that use libpcap.

Therefor you need to install libpcap-devel.

Greeting
Jens


_____________________________________________
From: Cummings, Charles [ICG-IT]
Sent: Wednesday, December 07, 2011 12:07 PM
To: 'tcpreplay-users@lists.sourceforge.net'
Subject: libpcap not found


Hi -

I am unable to get configure to recognize libpcap.  Here are the details:

    * Version of tcpreplay: tcpreplay-3.4.4
    * Which compiler and version: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)
    * libpcap location/version: /usr/lib/libpcap.so.0.9.4
    * Red Hat Enterprise Linux Server release 5.4 (Tikanga) (NOTE - am 
upgrading to recommended 6.1 or above)
    * ./configure arguments: ./configure --with-libpcap=/usr/lib
    * Contents of config.log:
                configure:17342: checking for libpcap
configure:17380: result: no
configure:17382: error: libpcap not found
    * Output from 'make': N/A
    * Any additional information you think that would be useful.

I created sym link libpcap.so->/usr/lib/libpcap.so.0.9.4 but results were same. 
 It looks like libpcap RPM is installed -

rpm -q libpcap
libpcap-0.9.4-14.el5

Any suggestions welcome!

Thanks,

Charles


------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to