ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Mon, 07 Dec 2009 16:42:49 +0100
Hi,

Sorry, never tried it. Maybe on the developer list (although they might be
lurking here too.)

Thanks,
Jaap

On Mon, 7 Dec 2009 09:13:46 -0600, Greg <j.greg.k@xxxxxxxxx> wrote:
> 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
>>
>
___________________________________________________________________________
> Sent via:    Wireshark-users mailing list
<wireshark-users@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-users
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
>             
mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe