Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Controlling the location of plugins directory

From: Bob Doolittle <Robert.Doolittle@xxxxxxx>
Date: Wed, 11 Apr 2007 09:19:15 -0400
Jeff Morriss wrote:
Bob Doolittle wrote:
Hi,

Can wireshark handle env-variable control of the
location of the plugins directory (similar to
LD_LIBRARY_PATH etc)?

I haven't found it, and desperately need it.  I
work in an environment where I commonly use
several platforms, including Solaris sparc and x86
as well as various Linux distros.  So I need to build
architecture-dependent versions of a plugin, and
currently can't find a way to deploy this in an
easy fashion in the $HOME directory.

Take a look at bug 1476:

http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1476

It looks like what you want may be (partially) implemented already.

Very cool, thanks!  This would indeed solve my issue.
However, I'm not a bugzilla jock.  It looks to me like somebody
has submitted a patch, but it hasn't been integrated into the main
source yet (Status=NEW).  Is that correct?

I could always build my own, but that sort of defeats the purpose
(i.e. I wouldn't need the plugin in my home directory - I could just
put it into my built copies of wireshark).

What about preferences, do they get stored in $WIRESHARK_HOME
as well?  That would be unfortunate - it would be undesirable to
maintain multiple copies...

-Bob