On Tue, 2006-02-14 at 13:55 +0530, Naganarasimha wrote:
> 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" 


What value did you give for --prefix ??




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

> linux:~ # /usr/sbin/snmpd

You should be giving the same prefix as you specified above.
So if you ran

        ./configure --prefix=/usr

then the agent binary would have been installed into /usr/sbin/snmpd

But if you gave something different (or omitted this altogether)
then the agent would end up in {prefix}/sbin/snmpd or
/usr/local/sbin/snmpd



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

It looks suspiciously as if you've got a ready-built version of
the Net-SNMP suite already installed.


> This is for SUSE Linux 9

And I'm increasingly suspicious that this pre-built binary might have
been built on a RedHat-style box, not SuSE.  I've just checked my
SuSE 10 installation, and the version of librpm there is only 4.1.1
It seems rather unlikely that an earlier version SuSE would have a
later version of this library.

But Fedora Core 4 *does* come with librpm-4.4, which leads me to suspect
that your agent binary might have been compiled on such a system.


If you're going to compile from source, it's recommended that you
remove any hint of previous installations from the system first.


Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to