I am trying to install snmp version 1.5.2.2Pre

 

 

I followed the below steps to install snmp

 

To install using the zip, follow the steps given below: 

Extract the file using following command:

tar -zxvf ucd-snmp-4.2.6.tar.gz

 

To install SNMP, follow the steps given below:

1.   Login as root user.

2.   Execute the command to set the path of the C compiler:

export PATH=<gcc path>:$PATH

3.   Execute the following four commands from the directory where you have extracted the ucd-snmp:

1.   ./configure --prefix=<directory_name> --with-mib-modules="host"

 

directory_name is the directory to install SNMP agent. Preferably choose a directory under /root. The directories /usr and /local might contain the files of an older version of SNMP and so do not choose these directories to ensure proper installation.

2.   make

3.   umask 022

4.   make install

 

After doing the above steps if I try to run the snmp I am getting the following error

 

linux:~ # /usr/sbin/snmpd

/usr/sbin/snmpd: error while loading shared libraries: librpm-4.4.so: cannot open shared object file: No such file or directory

 

Where to get this shared library :           “librpm-4.4.so”

 

Thanks and regards,

Naga

 

Reply via email to