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 miha87 edited 11 Nov '14, 00:23 |
One Answer:
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 miha87 |
What's printed if you run the command
Nobody has the answer?
I was sure it is trivial and that it is jut me who can't figure it out. Anyway I'm sure I'm not the first one with this problem and I am not he first one who wants to link his plugin with some external lib.
Perhaps nobody has enough information to give you an answer. You were asked a question; perhaps the answer to the question you were asked will help somebody give you an answer.
Perhaps it isn't.
Sorry I have somehow managed to miss your question. I am sorry again. My mistake. I will post the answer ass soon as I get to may computer. :) Thank you