Unable to load library: libnetsnmp.so.5: cannot open shared object file: No such file or directory

  • 7000792
  • 02-Mar-2009
  • 26-Apr-2012

Environment

Novell eDirectory 8.7.3.10 for Linux
Novell eDirectory 8.8 for Linux
Novell SUSE Linux Enterprise Server 10 Support Pack 2

Situation

Loading ndssnmpsa fails after auth data provided.  The ndssnmpsa.log shows the following error:


Mar 02 10:07:20 linux-7ois Error: unable to open file /etc/opt/novell/eDirectory/conf/ndssnmp/ndssnmp.cfg
Mar 02 10:08:23 linux-7ois Information: Logged in successfully to 'LOCALHOST' eDirectory server.
Mar 02 10:08:23 linux-7ois Unable to load library: libnetsnmp.so.5: cannot open shared object file: No such file or directory

Resolution

This is documented in readme

https://www.novell.com/documentation/edir873/sp10_readme/unix/readme.txt


3.5.1 SNMP on Linux

On SLES9, net-snmp 5.1 master agent has a
known issue. It prints the message "snmpd:
send_trap: Unknown PDU type" and does not
send the traps.

To avoid this error, you need upgrading
net-snmp to 5.1.2 or a later version.

On SLES 10, before starting the subagent,
export the variable SNMP_MAJOR_VERSION
using the following command:

export SNMP_MAJOR_VERSION=10

Status

Reported to Engineering