Wireshark mailing list archives

Re: compile static built tshark


From: Greg <j.greg.k () gmail com>
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 () gmail com> 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

___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe


Current thread: