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

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

From: Bob Doolittle <Robert.Doolittle@xxxxxxx>
Date: Mon, 09 Apr 2007 17:05:05 -0400
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.

I've arranged my shell rc files so that I set my
executable $PATH to include a platform-dependent
$HOME/bin type of directory during login[1].  It
would be reasonable to do something similar for
some variable that specified my wireshark plugin
directory for the current platform.

Thanks,
  Bob

[1] Specifically, it adds
"$HOME/bin/$(uname -s).$(uname -p)",
e.g. $HOME/bin/SunOS.sparc or $HOME/bin/Linux.i386