Ethereal-users: Re: [Ethereal-users] [ETHEREAL] UCD-SNMP

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: Tue, 2 Apr 2002 12:23:25 -0800
On Tue, Apr 02, 2002 at 01:14:11AM -0500, Rick Farina wrote:
> I'm trying to install ethereal-0.9.3 from sources onto a RH7.2 system
> running the latest RPMS of UCD-SNMP.  However, the configure script can
> never seem to find UCD-SNMP for some reason...can anyone tell me what
> file(s) it specifically looks for so that I can point it in the right
> direction.

Note, of course, that it doesn't look for UCD SNMP at all unless you
explicitly specify "--with-ucdsnmp", as there is not yet a version of
UCD SNMP that plugs an internal-to-the-library buffer overflow
vulnerability (if, as, and when 4.2.4 comes out, that should fix that -
but there's only 4.2.4-pre2, and that doesn't have the fix).

If you have specified "--with-ucdsnmp", it looks for

	1) a "ucd-snmp/snmp.h" header file, under either

		"/usr/include";

		"/usr/local/include", unless you've explicitly
		configured with "--disable-user-local";

		the "include" directory under the directory specified
		with "--with-ucdsnmp=", *if* you specified
		"={directory}" after "--with-ucdsnmp" (if you just
		specified "--with-ucdsnmp", without "={directory}",
		it'll just look in the other two directories;

	2) a "-lsnmp" library that contains the routine
	   "sprint_realloc_objid()", in either

		"/usr/lib";

		"/usr/local/lib", unless you've explicitly
		configured with "--disable-user-local";

		the "lib" directory under the directory specified
		with "--with-ucdsnmp=", *if* you specified
		"={directory}" after "--with-ucdsnmp" (if you just
		specified "--with-ucdsnmp", without "={directory}",
		it'll just look in the other two directories.

However, it also assumes that the UCD SNMP library does *NOT* require
any routines from "-lcrypto".  If the UCD SNMP library *DOES* require
those routines, you must configure with "--with-ssl" as well.