Hi,
I already installed net-snmp package with version:5.6.1.1
And i started compiling snmp agent with nstAgentModuleObject MIB module
,referring net-snmp tutorial section.
Steps I followed:
Run following commnds on unix prompt
1) ./configure --with-mib-modules="nstAgentModuleObject"
2) make
The above steps worked fine.
3) make install
PROBLEM_1: when i run make install , i am getting following error
libtool: install: /usr/bin/install -c -m 644 ../agent/mibgroup/util_funcs.h
/usr/local/include/net-snmp/agent/util_funcs.h
/usr/bin/install: cannot remove
`/usr/local/include/net-snmp/agent/util_funcs.h': Permission denied
installing util_funcs.h in /usr/local/include/net-snmp/agent
libtool: install: /usr/bin/install -c -m 644
./snmp_perl.pl/usr/local/share/snmp/
snmp_perl.pl
/usr/bin/install: cannot remove `/usr/local/share/snmp/snmp_perl.pl':
Permission denied
make[1]: *** [embedperlinstall] Error 1
make[1]: Leaving directory
`/home/prashant/Desktop/SNMP/SNMPDownloads/net-snmp/net-snmp-5.6.1.1/agent'
make: *** [installsubdirs] Error 1
PROBLEM_2:
And also when i run: /usr/local/sbin/snmpd -f -L -d -p 9999
i am getting following error
/usr/local/sbin/snmpd: error while loading shared libraries:
libnetsnmpagent.so.25: cannot open shared object file: No such file or
directory
*Please provide me solution for these problems.
*
Thanks and Regards
Prashant Nirni*
**
*
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders