tcpdump mailing list archives
Re: Building tcpdump with static libraries
From: Artur Kielak <kielaka () vp pl>
Date: Mon, 28 May 2012 10:17:53 +0200
Hi, Thanks for the reply - Artur Kielak Actually I cloned the from git repository - git://github.com/mcr/tcpdump.git. Then made a configure and make. Is this git repository different from the one you are sharing ? Regards, Ajith -------------------------------------------- codingfreak.in <http://www.codingfreak.in> On Mon, May 28, 2012 at 12:01 PM, Artur Kielak <kielaka () vp pl> wrote:Thanks for the reply, I have generated Makefile from ./configure and doing a tcpdump build. Now if I build tcpdump it is linked with shared libraries of libpcap and others as shown below. Is it possible for me to create tcpdump binary linking up with all static libraries ? $ ldd tcpdump linux-gate.so.1 => (0x00816000) libcrypto.so.0.9.8 => /lib/i686/cmov/libcrypto.so.0.9.8 (0x00b95000) libpcap.so.0.8 => /usr/lib/libpcap.so.0.8 (0x002c9000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00110000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00340000) libz.so.1 => /lib/libz.so.1 (0x00398000) /lib/ld-linux.so.2 (0x008c1000) Regards, Ajith -------------------------------------------- codingfreak.in <http://www.codingfreak.in> On Sun, May 27, 2012 at 8:59 PM, <kielaka () vp pl> wrote:Użytkownik Ajith Adapa <adapa.ajith () gmail com> napisał:Hi, Can I know how to build tcpdump with static libraries rather than with shared libraries ? Regards, Ajith -------------------------------------------- codingfreak.in <http://www.codingfreak.in> - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.I think that is default kind library, when You use Makefile generatedfrom./configure (from source: git clone git://bpf.tcpdump.org/tcpdump). - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.I think than You run older version tcpdump: This is the answer: libpcap.so.0.8 => /usr/lib/libpcap.so.0.8 (0x002c9000) Linked to old version. You must : 1) Download git clone git://bpf.tcpdump.org/libpcap git clone git://bpf.tcpdump.org/tcpdumpCurrent Development Version 2) Uninstall current version tcpdump and libpcap from system. Make sure than You remove (or move to old) libpcap and tcpdump from (find / -name "libpcap.*"). 3) Install libpcap and tcpdump from downloaded source. After install libpcap remove libpcap.so.* from libpcap dir to sure than tcpdump is not builded from *.so libs. Cheers Artur Kielak - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Look for site http://www.tcpdump.org/.
git clone git://bpf.tcpdump.org/libpcap git clone git://bpf.tcpdump.org/tcpdump
These are Current Development Version.
Cheers Artur Kielak
- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Re: Building tcpdump with static libraries, (continued)
- Re: Building tcpdump with static libraries Ajith Adapa (May 27)
- Re: Building tcpdump with static libraries Guy Harris (May 28)
- Re: Building tcpdump with static libraries Ajith Adapa (May 27)
- Re: Building tcpdump with static libraries Artur Kielak (May 27)
- Re: Building tcpdump with static libraries Ajith Adapa (May 28)
- Re: Building tcpdump with static libraries Michael Richardson (May 28)
- Re: Building tcpdump with static libraries Guy Harris (May 28)
- Re: Building tcpdump with static libraries Ajith Adapa (May 28)
- Re: Building tcpdump with static libraries Guy Harris (May 28)
- Re: Building tcpdump with static libraries Romain Francoise (May 28)
- Re: Building tcpdump with static libraries Michael Richardson (May 28)
- Re: Building tcpdump with static libraries Ajith Adapa (May 28)
- Re: Building tcpdump with static libraries Artur Kielak (May 28)
- Re: Building tcpdump with static libraries Ajith Adapa (May 28)
- Re: Building tcpdump with static libraries Guy Harris (May 28)
- Re: Building tcpdump with static libraries Ajith Adapa (May 28)
- Re: Building tcpdump with static libraries Artur Kielak (May 28)