Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: [Wireshark-users] compile static built tshark

From: Greg <j.greg.k@xxxxxxxxx>
Date: Mon, 16 Nov 2009 15:41:56 -0600
I attempted to compile tshark on centos 4.7 today as a static binary.
Configure went fine, make went fine and so I copied the tshark binary
to a test system and tried running it. It would exit. I traced the
exit to tshark trying to launch a dumpcap child process. So I ran
dumpcap and dumpcap is not being statically built during the process.
It tries reading from a libpcap share object file.

Here is what my configure looks like:

./configure --enable-static=yes --enable-wireshark=no
--disable-gtktest --enable-shared=no --with-zlib=no --with-pcre=no
--with-krb5=no --with-adns=no --withgeoip=no --with-plugins=no
--enable-editcap=no --enable-capinfos=no --enable-mergecap=no
--enable-text2pcap=no --enable-idl2wrs=no --enable-dftest=no
--enable-randpkt=no --enable-rawshark=no --with-gcrypt=no
--with-libsmi=no --without-portaudio --without-lua


Any ideas on what I am missing?


-Greg