Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#8766 - Ksensors stopped working after lm_sensors upgrade
Attached to Project:
Arch Linux
Opened by Alberto Gonzalez (Luis) - Monday, 26 November 2007, 13:09 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 27 November 2007, 19:49 GMT
Opened by Alberto Gonzalez (Luis) - Monday, 26 November 2007, 13:09 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 27 November 2007, 19:49 GMT
|
DetailsDescription: ksensors stopped working after upgrading lm_sensors to version 3.0.0. It fails to start with the message:
ksensors: error while loading shared libraries: libsensors.so.3: cannot open shared object file: No such file or directory A symlink to libsensors.so.4 doesn't do the trick, and rebuilding the package fails. ksensors seems to be unmaintained for a long time (last release from 2004), but I still find it useful. But if there is an alternative (I don't know of any), it could be replaced maybe. |
This task depends upon
gkrellm: error while loading shared libraries: libsensors.so.3: cannot open shared object file: No such file or directory
user@arch:~ $ locate libsensors
/usr/lib/libsensors.a
/usr/lib/libsensors.so
/usr/lib/libsensors.so.3
/usr/lib/libsensors.so.3.1.4
/usr/man/man3/libsensors.3.gz
gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../CContLib -I./.. -I/opt/kde/include -I/opt/qt/include -I. -D_GNU_SOURCE -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -Wall -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -D_GNU_SOURCE -c lmsensors.c
lmsensors.c:39: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
lmsensors.c: In function 'initLmSensors':
lmsensors.c:88: warning: passing argument 1 of 'sensors_get_detected_chips' from incompatible pointer type
lmsensors.c:88: error: too few arguments to function 'sensors_get_detected_chips'
lmsensors.c:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
lmsensors.c:90: error: 'sfd' undeclared (first use in this function)
lmsensors.c:90: error: (Each undeclared identifier is reported only once
lmsensors.c:90: error: for each function it appears in.)
lmsensors.c:92: warning: implicit declaration of function 'sensors_get_all_features'
lmsensors.c:93: error: 'SENSORS_NO_MAPPING' undeclared (first use in this function)
lmsensors.c:98: error: incompatible type for argument 1 of 'sensors_get_label'
lmsensors.c:98: error: too many arguments to function 'sensors_get_label'
lmsensors.c:112: error: 'LMSENSOR' has no member named 'sfd'
lmsensors.c: In function 'printLmSensor':
lmsensors.c:141: warning: implicit declaration of function 'sensors_get_feature'
lmsensors.c:141: error: 'LMSENSOR' has no member named 'sfd'
make[4]: *** [lmsensors.o] Error 1
make[4]: Leaving directory `/home/jan/Arch/kdemod/work/kdebase/src/kdebase-3.5.8/ksysguard/ksysguardd/Linux'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jan/Arch/kdemod/work/kdebase/src/kdebase-3.5.8/ksysguard/ksysguardd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jan/Arch/kdemod/work/kdebase/src/kdebase-3.5.8/ksysguard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jan/Arch/kdemod/work/kdebase/src/kdebase-3.5.8'
make: *** [all] Error 2
However, kdebase also needs to be updated because of ksysguard...
Here is an updated ksensors tarball with lm_sensors 3.0.0 support (from: http://www.lm-sensors.org/wiki/Download)
http://people.atrpms.net/~hdegoede/ksensors-0.7.3-fedora-14.tar.gz
BTW, I confirm ksysguard is not working here either.