Wireshark-dev: [Wireshark-dev] Path for plugins

From: Tyson Clarke <statefan2001@xxxxxxxxx>
Date: Wed, 28 May 2008 18:11:00 -0700 (PDT)
This probably a simple question, but I have searched high and low for an answer and been unable to find anything.

My Linux install of Wireshark was done from my home directory of /home/hello/wireshark-1.0.0 using:
  ./autogen.sh
  ./configure
  make install

I followed all of the directions in the doc/README.plugins to create my plugin and it works fine when I run Wireshark as the local user. However, the .so file created in /usr/local/lib/wireshark/plugins/1.0.0 has the absolute path name "/home/hello/wireshark-1.0.0" embedded in it.

The process to re-use this plugin on a different install I assume is to just copy the .so file over to the /usr/local/lib/wireshark/plugins/1.0.0 directory on that machine, but obviously that will not work because of the absolute path embedded in it.

What do I need to do differently to create a plugin that can be used across many different machines and installs?

Thanks in advance!