Wireshark-dev: [Wireshark-dev] capinfos library issue when run from build dir (Unix)
From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Tue, 20 Nov 2007 23:05:58 -0700
Is it just my machine, or are others getting library not loaded errors
when running capinfos on Unix from the build directory -without- having
Wireshark installed at all?  I just noticed it is displaying messages
like this for each of the plugins before displaying the help message:

sfisher@shadow:/usr/local/src/wireshark>./capinfos 
capinfos: Couldn't load module /usr/local/src/wireshark/plugins/agentx/.libs/agentx.so: dlopen(/usr/local/src/wireshark/plugins/agentx/.libs/agentx.so, 10): Library not loaded: /usr/local/lib/libwireshark.0.dylib
  Referenced from: /usr/local/src/wireshark/plugins/agentx/.libs/agentx.so
  Reason: image not found

These messages do not appear when Wireshark is installed.  This is
happening only with capinfos and with all 5 of my build environments
(0.99.6 from tarball, a clean SVN, SVN w/ GTK1.2, SVN w/ GTK+OSX, and
SVN that I develop new code on).  Yes, 5 build environments take up a
lot of space :)


Steve