tcpdump mailing list archives

Re: Building tcpdump with static libraries


From: "David Laight" <David.Laight () ACULAB COM>
Date: Tue, 29 May 2012 10:24:28 +0100

 
Can I know how to build tcpdump with static libraries rather than with
shared libraries ?

Why are you trying to do this.
As Guy says in his recent posts you can't (and shouldn't) try to link
statically to all the system libraries.

If you are trying to link with a specific version of libpcap,
the look into the RPATH, RUNPATH, SONAME and NEEDED elf sections
and the use of $ORIGIN.

        David


-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: