This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Wireshark plugin binary compatibility in Linux

0

Suppose I create a Wireshark plugin in Ubuntu (say version 12.04, but I would prefer an answer for any general system), how compatible will it be across all Wireshark versions in different Linux platforms like Fedora, Mint, etc?

Also, could it possibly be compatible with Wireshark in older versions of Ubuntu like 11.04?

asked 21 Nov '12, 05:20

SidR's gravatar image

SidR
245121722
accept rate: 30%


One Answer:

1

As long as you adhere to the practices laid out in README.developer you should be able to write portable source code. As for binary compatibility, you most likely will be able to move the so around, but library compatibility may be an issue.

answered 21 Nov '12, 09:29

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

In other words, the plugin compiled in Ubuntu has a good chance of working in Fedora.

Is there any list that clearly lays out compatibility issues between platforms?

Also, do you mind elaborating about library compatibility? Why will it be an issue and for what cases specifically?

(21 Nov '12, 09:56) SidR

run this command and look at the output.

ldd yourplugin.so

If any one of those libraries is substantially different on one of the mentioned systems, your plugin may get into trouble.

(21 Nov '12, 12:16) Kurt Knochner ♦

As for library compatibility, have a look here for instance.

(22 Nov '12, 04:14) Jaap ♦