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

From: Greg <j.greg.k@xxxxxxxxx>
Date: Mon, 7 Dec 2009 09:13:46 -0600
It has been awhile and i thought i would try asking again if anyone
has had any luck compiling a static version of tshark and if so would
you please share how it was done?

thanks

-Greg

On Mon, Nov 16, 2009 at 3:41 PM, Greg <j.greg.k@xxxxxxxxx> wrote:
> 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
>