Ethereal-dev: RE: [Ethereal-dev] ethereal error

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Patnaik, Anjela" <APatnaik@xxxxxxxxx>
Date: Tue, 10 Sep 2002 15:11:29 -0400
I just checked the plugins directory under
the lib directory and yes, docsis.so, docsis.a
and docsis.la show up. Now, the question is
why does ethereal NOT find it if they are
there with the other plugins??

-----Original Message-----
From: Guy Harris [mailto:gharris@xxxxxxxxx]
Sent: Tuesday, September 10, 2002 3:03 PM
To: Richard Sharpe
Cc: Patnaik, Anjela; ethereal-dev@xxxxxxxxxxxx
Subject: Re: [Ethereal-dev] ethereal error


On Wed, Sep 11, 2002 at 05:43:03AM +0930, Richard Sharpe wrote:
> Looks to be like dlopen, or whatever is used, can't find docsis.so.

No - the code to load plugins scans a directory and only loads files
from that directory.  Furthermore, if whatever routine "g_module_open()"
calls to load a plugin at run time fails because the file doesn't exist,
there'd be a warning message printed saying "Couldn't load module XXX",
not a fatal message from the dynamic loader.

That's why I suspect it somehow got linked at build time with the DOCSIS
plugin.