Skip to contentSkip to conversation

libsysfs.so.2 problem

lm-sensors skylimit 2 participants 2 messages Nov 22, 2008 – Nov 23, 2008

lore
Share & tools
lore

skylimit

author
#0 lore raw

hello all,

i have linux box (slackware, 2.6.18) and lm_sensors already installed. when i try to start it, there is an error message :

./sensors: error while loading shared libraries: libsysfs.so.2: cannot open shared object file: No such file or directory

command sensor-detect on the end says:

Can't exec "i2cdetect": No such file or directory at ./sensors-detect line 5127, <STDIN> line 2.
Couldn't find i2cdetect program!! at ./sensors-detect line 5127, <STDIN> line 2.

and ldd sensors:

libsensors.so.3 => /usr/lib64/libsensors.so.3 (0x00002aca25e36000)

        libc.so.6 => /lib64/tls/libc.so.6 (0x00002aca25f8c000)
        libm.so.6 => /lib64/tls/libm.so.6 (0x00002aca261c5000)
        /lib64/ld-linux-x86-64.so.2 (0x00002aca25d1e000)
        libsysfs.so.2 => not found

Can somebody please tell me how can i find solution to this problem.

Thank you in advance

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw
Quoted 5 lines · ---- skylimit

i have linux box (slackware, 2.6.18) and lm_sensors already installed. when i try to start it, there is an error message :

./sensors: error while loading shared libraries: libsysfs.so.2: cannot open shared object file: No such file or directory

You might need to install the Slackware package "sysfsutils" to get libsysfs.so . See:
http://packages.slackware.it/package.php?q=current/sysfsutils-2.1.0-i486-1

Quoted 6 lines

command sensor-detect on the end says:

Can't exec "i2cdetect": No such file or directory at ./sensors-detect line 5127, <STDIN> line 2.
Couldn't find i2cdetect program!! at ./sensors-detect line 5127, <STDIN> line 2.

i2cdetect should come with the lm-sensors package. You might be having a path problem; can you run i2cdetect on its own? In other words, at a shell prompt, just type

i2cdetect

and hit enter and see what happens. If you get a response like "not found", then probably either the packaged version of lm-sensors that you have lacks i2cdetect (try reinstalling the package or building from source), or i2cdetect is installed somewhere that your shell doesn't know about (try setting $PATH).

Matt Roberds

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors