Wireshark-dev: Re: [Wireshark-dev] HELP: about tshark shared library.
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.