The output of configure said it found libpcap in /usr/local, but you were
claiming you were using the RPM's. RPM's never install in /usr/local.
Your error from the output of make confirmed that it was a library/header
missmatch.
--
Aaron Turner
https://synfin.net/ Twitter: @synfinatic
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
On Tue, Mar 1, 2016 at 8:43 AM, Randy Southern <rsouth...@charter.net>
wrote:
> Aaron,
>
> Your information helped a lot.
>
>
>
> Had to play around a bit, but I think I got it running.
>
>
>
> What I did:
>
> · Uninstalled ,ibpcap and libpcap-devel
>
> · Checked for libpcap.a. Found in /usr/local, /usr/local/lib.
> Removed both
>
> · Installed libpcap. Libpcap-devel.
>
> · Ran ./configure –enable-dynamic-link
>
> · Ran sudo make. No errors
>
> · Ran sudo make test and showed all yes.
>
> · Ran make install. Yeah, worked
>
> · Randy tcpreplay form main directory and it ran.
>
> Seems like all those references were causing issues.
>
>
>
> Thanks for the help. Good troubleshooting. What lines in the logs did
> you use to find this issue? Will help me next time.
>
>
>
> THX
>
>
>
> *From:* Aaron Turner [mailto:synfina...@gmail.com]
> *Sent:* Monday, February 29, 2016 6:53 PM
> *To:* Main forum for tcpreplay
> *Subject:* Re: [Tcpreplay-users] tcpreplay 4.1.1 installation error
>
>
>
> Looks like you've got another copy of libpcap installed (most likely
> compiled in from source) in /usr/local and configure is using the header
> file from /usr/local, but the library from /usr (where the RPM installed
> it).
>
>
>
> You can try:
>
>
>
> ./configure --with-libpcap=/usr
>
>
>
> or may just have to remove the libpcap* files from /usr/local/lib* and
> /usr/local/include
>
>
>
>
> --
> Aaron Turner
> https://synfin.net/ Twitter: @synfinatic
> Those who would give up essential Liberty, to purchase a little temporary
> Safety, deserve neither Liberty nor Safety.
> -- Benjamin Franklin
>
> This email has been sent from a virus-free computer protected by Avast.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
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