Re: libsensors.so.1 => not found

PoWah Wong <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
--- On Tue, 1/20/09, Nikos Balkanas <[email protected]> wrote:

> From: Nikos Balkanas <[email protected]>
> Subject: Re: libsensors.so.1 => not found
> To: [email protected], [email protected]
> Received: Tuesday, January 20, 2009, 3:53 PM
> Hi,
> 
> Do a find / -name "libsensors.so.1" to see
> 
> 1) if it exists
> 2) where it is located
> 
> Then just make sure that you add the path to
> /etc/ldso.conf.
> 
> BR,
> Nikos
> ----- Original Message ----- 
> From: "PoWah Wong" <[email protected]>
> To: <[email protected]>
> Sent: Tuesday, January 20, 2009 10:08 PM
> Subject: libsensors.so.1 => not found
> 
> 
> >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
> > [email protected]
> > Please see the following page to unsubscribe or change
> other options:
> >
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users 
> 
> 
> ------------------------------------------------------------------------------
> 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
> [email protected]
> Please see the following page to unsubscribe or change
> other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users

I do not find libsensors.so.1 but find libsensors.so.3.

# ls -l /usr/local/lib/libsensors.so*
lrwxrwxrwx    1 root     root           19 Jan 20 15:26 /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

I create a symbolic link.
Is this a good solution?
# ln -s /usr/local/lib/libsensors.so.3 /usr/local/lib/libsensors.so.1



      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at
http://ca.toolbar.yahoo.com.

------------------------------------------------------------------------------
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
[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.