RE: Problems With NetSNMP 5.4.1 and Fresh Debian Etch Install [SOLVED]

"Uttamchandani, Amit" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
> 1. I try to look for the net-snmp man pages by running man -k snmp but all I 
> get are:
>   
>   cups-snmp.conf (5)   - snmp configuration file for cups
>   snmp.conf (5) [cups-snmp.conf] - snmp configuration file for cups
>  
>   * Shouldn't I be getting the entire listing such as snmpget, snmpwalk, etc.? 
> Accessing these individually by man snmpget works fine.
>

For this debian system I had to run 'sudo mandb -c' to update the database.

>  2. I launch python and run import netsnmp. I get the following error:
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "build/bdist.linux-i686/egg/netsnmp/__init__.py", line 1, in ?
>   File "build/bdist.linux-i686/egg/netsnmp/client.py", line 1, in ?
>   File "build/bdist.linux-i686/egg/netsnmp/client_intf.py", line 7, in ?
>   File "build/bdist.linux-i686/egg/netsnmp/client_intf.py", line 6, in 
>__bootstrap__
> ImportError: libnetsnmp.so.15: cannot open shared object file: No such file or 
>directory
>
> * I searched the mailing lists and added "include /usr/local/lib" to 
>/etc/ld.so.conf and ran "sudo ldconfig -v". Still no luck, I get the same 
>problem as above.


This was actually quite simple, I created a symlink in /usr/lib that points to libnetsnmp.so.15 (located in /usr/local/lib).

Thanks for all the help.
Amit

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.