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: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 10 Sep 2002 12:19:56 -0700
On Tue, Sep 10, 2002 at 03:11:29PM -0400, Patnaik, Anjela wrote:
> 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??

Ethereal isn't what's not finding it.

The dynamic linker is what's not finding it.

Now, perhaps the part of the dynamic linker that implements run-time
loading is, on whatever OS you're running this, horribly broken, so that
an attempt to load a module using a pathname for a file that doesn't
exist causes the linker to abort rather than just causing "dlopen()" (or
whatever) to return an error, or perhaps some other plugin was somehow
linked at build time with the DOCSIS plugin and the attempt to load
*that* plugin causes the run-time linker to fail in that fashion.

Or perhaps Ethereal itself was linked at build time with the DOCSIS
plugin.

I don't know which, if any, of those is the case.  Try running "ldd"
with the pathname of your Ethereal executable as an argument; *NONE* of
the output of "ldd" should contain the string "docsis.so".