I had "libsensors.so.1 => not found" error for snmpd.
The system had lm_sensors-2.8.6-1rh so 
how to make the snmpd depend on that?

# ldd /usr/local/sbin/snmpd
        libnetsnmpmibs.so.9 => /usr/local/lib/libnetsnmpmibs.so.9 (0x40017000)
        libnetsnmpagent.so.9 => /usr/local/lib/libnetsnmpagent.so.9 (0x400be000)
        libnetsnmphelpers.so.9 => /usr/local/lib/libnetsnmphelpers.so.9 
(0x400fa000)
        libnetsnmp.so.9 => /usr/local/lib/libnetsnmp.so.9 (0x40118000)
        libdl.so.2 => /lib/libdl.so.2 (0x401c5000)
        libm.so.6 => /lib/libm.so.6 (0x402c3000)
        libsensors.so.1 => not found
        libc.so.6 => /lib/libc.so.6 (0x402e5000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

# ls -l /usr/local/lib/libsensors*
lrwxrwxrwx    1 root     root           19 Jan 16 16:56 
/usr/local/lib/libsensors.so.3 -> libsensors.so.3.0.4
-rwxr-xr-x    1 root     root       143447 Jan 25  2007 
/usr/local/lib/libsensors.so.3.0.4

# rpm -ivh lm_sensors-2.5.5-6.i386.rpm
Preparing...                ########################################### [100%]
package lm_sensors-2.8.6-1rh (which is newer than lm_sensors-2.5.5-6) is 
already installed
file /etc/sensors.conf from install of lm_sensors-2.5.5-6 conflicts with file 
from package lm_sensors-2.8.6-1rh


OS is RH7.2.




      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to