tcpdump mailing list archives

Re: Cannot find -lpcap when statically compiling a C project


From: liu wen <caonimagongling () gmail com>
Date: Fri, 20 Nov 2015 23:15:52 +0100

thank you very much!
then how to compile the source codes to make a libpcap.a from the libpcap
source codes?

On Fri, Nov 20, 2015 at 6:58 PM, Guy Harris <guy () alum mit edu> wrote:


On Nov 20, 2015, at 12:32 AM, Jamie Bainbridge <jamie.bainbridge () gmail com>
wrote:

Fedora has glibc-static, but no libpcap-static.

Then he'll have to build libpcap from source.

I would suggest building with the *latest* version of libpcap from
tcpdump.org, currently 1.7.4:

        http://www.tcpdump.org/#latest-release

to see whether it's better than either the 1.3.0 on the machines where it
wasn't having problems of the 1.5.3 on the machines where it was.


_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: