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:27:44 -0400
So, how do I *fix* this so it's not linked
improperly? This is what I get?

	docsis.so =>	 (file not found)
	cosnaming.so =>	 (file not found)
	coseventcomm.so =>	 (file not found)
	gryphon.so =>	 (file not found)
	mgcp.so =>	 (file not found)
	libcrypto.so.0.9.6 =>	 /tools/misc/lib/libcrypto.so.0.9.6
	libgtk-1.2.so.0 =>	 /tools/misc/lib/libgtk-1.2.so.0
	libgdk-1.2.so.0 =>	 /tools/misc/lib/libgdk-1.2.so.0
	libgmodule-1.2.so.0 =>	 /tools/misc/lib/libgmodule-1.2.so.0
	libglib-1.2.so.0 =>	 /tools/misc/lib/libglib-1.2.so.0
	libdl.so.1 =>	 /usr/lib/libdl.so.1
	libXext.so.0 =>	 /usr/lib/libXext.so.0
	libX11.so.4 =>	 /usr/lib/libX11.so.4
	libsocket.so.1 =>	 /usr/lib/libsocket.so.1
	libnsl.so.1 =>	 /usr/lib/libnsl.so.1
	libm.so.1 =>	 /usr/lib/libm.so.1
	libc.so.1 =>	 /usr/lib/libc.so.1
	libmp.so.2 =>	 /usr/lib/libmp.so.2
	/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

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


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".