Ethereal-users: Re: [ethereal-users] ethereal: error in loading shared libraries: ethereal: unde

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sun, 30 Jul 2000 22:36:47 -0700
On Sun, Jul 30, 2000 at 11:26:38AM -0700, Brian Campbell wrote:
> 1) ldd ethereal gives:
> 
> 	libsnmp.so.0 => /usr/lib/libsnmp.so.0 (0x4001a000)

		...

> 2) Running strace -o /tmp/ethereal.log ethereal gives
> a big log file.  So I attached it.

	open("/usr/lib/libsnmp.so", O_RDONLY)   = -1 ENOENT (No such file or directory)

Damn.

The UCD SNMP library is installed as "libsnmp.so.0", but without a
"libsnmp.so" link to it; I'll have to see if there's any way to beat out
of the run-time linker the full name of the library - wiring in
"libsnmp.so.0" won't do very well if the major version number gets
increased to make it "libsnmp.so.1".

I suspect it'd work if you make "/usr/lib/libsnmp.so" a symbolic link to
"/usr/lib/libsnmp.so.0".

(Note: "guy@xxxxxxxxxxxx" is on "ethereal-users", so there's no need to
CC that address if responding to "ethereal-users"; send to
"guy@xxxxxxxxxxxx" only if you're not sending to any of the Ethereal
lists.)