Guy Harris wrote:
> On Thu, Jun 15, 2000 at 09:30:43PM -0400, H. Erik Hia wrote:
> > 1) What advantage does --enable-snmp=yes provide?
>
> Symbolic decoding of OIDs (i.e, showing them as names rather than just
> as strings of numbers, e.g. showing 1.3.6.1.2.1 as being
> ".iso.org.dod.internet.mgmt.mib-2"), decoding of variable bindings
> according to the type the MIBs give (so that, for example, it can show
> "enumerated" values, e.g. showing 1.3.6.1.2.1.2.2.1.3.N, a/k/a
> ".iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifType.N",
> as "ethernetCsmacd(6)" rather than just "6"), and other things that
> require information that comes from MIBs.
>
> > 2) Has anyone been able to get the latest versions of ucd-snmp and
> > ethereal to work together?
>
> Yes. I build and installed 4.1.2 from source on my FreeBSD 3.4 system,
> and Ethereal built just fine.
>
> In what directory did the UCD SNMP library you built from source get
> installed? If it's in "/usr/local/lib", then perhaps the problem is
> that you the 4.1.1 library in "/usr/lib" and the 4.1.2 in
> "/usr/local/lib"; if Ethereal is compiling with the 4.1.2 header files
> but getting linked with the 4.1.1 in "/usr/lib" rather than the 4.1.2 in
> "/usr/local/lib", this might cause the "snmp_set_full_objid" problem, at
> least.
The ucd-snmp 4.1.2 libraries (libsnmp.so, libucdagent.so, and
libucdmibs.so) all went into /usr/local/lib. This was a clean install, not
an upgrade from any prior version. These libraries are dynamically linked
at run-time. Could it be that ethereal expects statically linked libraries?
I mention this because I also tried "./configure
--with-ucdsnmp=/usr/local/lib", but the configure script reported "not
found" even though the libraries are clearly there.
--Erik