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 I am trying on NIGHTLY BUILD :) I even tried using -static flag in Makefile I getting following error. Seems directly using static flag wont solve /Ajith/LABS/submission/tcpdump/./addrtoname.c:728: warning: Using 'getservent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /home/codingfreak/Ajith/LABS/submission/tcpdump/./addrtoname.c:748: warning: Using 'endservent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking print-sunrpc.o: In function `progstr': /home/codingfreak/Ajith/LABS/submission/tcpdump/./print-sunrpc.c:163: warning: Using 'getrpcbynumber' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func': (.text+0x336): undefined reference to `dlsym' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func': (.text+0x418): undefined reference to `dlerror' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var': (.text+0x4a6): undefined reference to `dlsym' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var': (.text+0x588): undefined reference to `dlerror' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload': (.text+0x5f7): undefined reference to `dlclose' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': (.text+0x6d6): undefined reference to `dlopen' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': (.text+0x746): undefined reference to `dlclose' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': (.text+0x77d): undefined reference to `dlerror' collect2: ld returned 1 exit status make: *** [tcpdump] Error 1 Regards, Ajith -------------------------------------------- codingfreak.in <http://www.codingfreak.in> On Mon, May 28, 2012 at 1:47 PM, Artur Kielak <[email protected]> wrote: > > 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 <[email protected]> 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, <[email protected]> wrote: > > > > > > > > > Użytkownik Ajith Adapa <[email protected]> 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 > generated > > > from > > > > > ./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. > > > > - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
