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: "Anand V. Narwani" <anarwani@xxxxxxxxx>
Date: Tue, 10 Sep 2002 15:32:00 -0400
Anjela,
The output of 'ldd ethereal' might help to get to the bottom of this.

Anand

At 03:11 PM 9/10/2002 -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??

-----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.
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev

--
Anand V. Narwani,  CCIE 3892
Advanced Engineering Services
Cisco Systems, Inc.
Direct/Fax: 919.392.3404
Email: anarwani@xxxxxxxxx

"Meddle not in the affairs of dragons, for you are crunchy and taste good with ketchup"