libnetsnmp.so.15 error
Date: June 15, 2007
after installing some cool nagios snmp plugins from nagios-snmp, i ran into a little netsnmp issues
$ ./check_snmp_process ./check_snmp_process: error while loading shared libraries: libnetsnmp.so.15: cannot open shared object file: No such file or directory
lovely error….
so lets check what the dep’s are:
$ ldd check_snmp_process linux-gate.so.1 => (0xffffe000) libnetsnmp.so.15 => not found libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f95000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e53000) /lib/ld-linux.so.2 (0xb7fcf000)
ok, lets make sure that it is installed
1) try installing/re-installing Net::SNMP :
$ sudo perl -MCPAN -e shell
cpan> install Net::SNMP
and make sure that net-snmp is installed or configured correctly.
see net-snmp for help.
2) now lets hunt it down:
$ sudo find / -name libnetsnmp.so* Password: /usr/lib/libnetsnmp.so.9 /usr/lib/libnetsnmp.so.9.0.1 /usr/local/lib/libnetsnmp.so.15.0.0 /usr/local/lib/libnetsnmp.so.15 /usr/local/lib/libnetsnmp.so
3) now lets just link:
$ sudo ln -s /usr/local/lib/libnetsnmp.so.15 /usr/lib/libnetsnmp.so.15
4) test:
$ ./check_snmp_process Set hostname or IP ! Usage: check_snmp_process [-v -V] -H <host> -C <snmp_community> [-2] | (-l login -x passwd [-X pass -L <authp>,<privp>) [-p <port>] [-t <timeout>] -n <name> [-w <min_proc>[,<max_proc>] -c <min_proc>[,max_proc] ] [-m<warn Mb>,<crit Mb> -a -u<warn %>,<crit%> -d<delta>] [-f -A -F] [-r]
thanks bro, you help me much
Solution worked for me. THe only difference is my error was complaining about libnetsnmp.so.30
Thanks!!
Thanks a lot. I had problem with so.30 and after doing the steps here it worked
Heck yeah! Thanks dude!
Thanks bro…. 🙂
Thank you very much!
Mine was complaining about libnetsnmp.so.25 and your solution resolved my issue.
Amir