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

Wireshark-dev: Re: [Wireshark-dev] HELP: about tshark shared library.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 25 Mar 2008 23:23:37 -0700
Pankaj Yadav wrote:
actully i want tshark library to use tshark tool idependently only e.g. tshark command tool.
What do you mean by "use tshark tool idependently only e.g. tshark command tool"?

If you just want to use the TShark command-line tool, just use it - you don't have to recompile anything.

If you want to build TShark from source without building Wireshark, you do that by passing the configure script the command-line flag "--disable-wireshark".

In neither case do you need a TShark library. As I said, TShark, like Wireshark, uses libwireshark to do packet dissection; libwireshark doesn't include tshark.c and doesn't include any of the Wireshark code in gtk - it's not a "Wireshark library" that includes any of the GUI code, it's more of a "*shark library", including code common to Wireshark and TShark.