Ethereal-users: Re: [Ethereal-users] libsnmp.so.0

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 25 Oct 2000 15:07:56 -0700 (PDT)
> Hi, I ve installed ethereal on Suse 6.4 with rpm.
> 
> when I run ethereal, it doesnt run and appears the next message:
> 
> ethereal: error in loading shared libraries: libsnmp.so.0: cannot open
> shared object file: No such file or directory  
> 
> Where I can find this library?

At least according to SuSE's Web site, there's a "ucdsnmp" package in
SuSE 7.0, which, the description "UCD SNMP daemon" they give to it
nonwithstanding, contains also the UCD SNMP headers and libraries, not
just the daemon.

SuSE 6.4 may also have such a package; if so, try installing it.

It may enable the SNMP daemon, which you may or may not want; you'd have
to check the SuSE documentation to see if that happens and, if so, how
to disable the daemon if you don't want it (the daemon isn't necessary
to allow Ethereal to dissect SNMP packets symbolically).

Unfortunately, it appears to install the library as "libsnmp.so", not
also as "libsnmp.so.0", so that may not be sufficient, if the RPM was
explicitly linked with a ".0" version of the library and looks only for
the ".0" version of the library.  If, after installing a UCD SNMP
package, you have a "/usr/lib/libsnmp.so" file but no
"/usr/lib/libsnmp.so.0" file, *AND* Ethereal still complains with that
error, make a symbolic link "/usr/lib/libsnmp.so.0" that points to
"/usr/lib/libsnmp.so".

*NOTE, however, that the ".0" in the error message may not mean that the
run-time linker will look only for "libsnmp.so.0", so don't make the
symbolic link unless

	1) there's a "libsnmp.so" file to link to

and

	2) Ethereal still fails to run, with the "libsnmp.so.0: cannot
	   open" error, when you try to run it.