I am writing a dissector for protocol, that has most of its data compressed with lz4 compression. The thing I need to do is to link my plug-in with external lz4 shared library to uncompress the compressed data. (liblz4-dev on Ubuntu)
The problem is that unfortunately I don't understand the Wireshark Autools build system very well and I can't figure it out how to do it. I always get the following error, when I start the wireshark.
I have tried to change plugins/plugin_name/Makefile.am without any success. LIBS = -llz4
I would be very grateful if somebody could explain me how to do it? How do I link plug in with another shared library?
asked 07 Nov '14, 05:43
edited 11 Nov '14, 00:23
Ok I have found the solution that works for me. Actually the steps are the same as before. I have probably spiked something before and this is the reason I had problems before. If you add dependency you should probably go trough all described steps again.
$sudo make install
answered 10 Nov '14, 23:54