/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libsysfs.so.1, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcpufreq.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcpufreq.so: undefined reference to `sysfs_write_attribute' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcpufreq.so: undefined reference to `sysfs_read_attribute' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcpufreq.so: undefined reference to `sysfs_close_attribute' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcpufreq.so: undefined reference to `sysfs_path_is_dir' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcpufreq.so: undefined reference to `sysfs_open_attribute' collect2: ld returned 1 exit status # locate 'libsysfs.*' /lib/libsysfs.so /lib/libsysfs.so.2.0.0 /lib/libsysfs.so.2 /usr/lib/libsysfs.a /usr/lib/libsysfs.la /usr/lib/libsysfs.so /usr/share/doc/sysfsutils-2.0.0/libsysfs.txt.gz /usr/include/sysfs/libsysfs.h # emerge -s sysfs Searching... [ Results for search key : sysfs ] [ Applications found : 1 ] * sys-fs/sysfsutils Latest version available: 2.0.0 Latest version installed: 2.0.0 Size of files: 382 kB Homepage: http://linux-diag.sourceforge.net/Sysfsutils.html Description: System Utilities Based on Sysfs License: GPL-2 LGPL-2.1 Looks like cpufrequtils is looking for the old libsysfs, but I have version 2 installed. Does sysfsutils need to be slotted, or can the cpufrequtils build simply be modified to use the newer libsysfs.so.2?
Run revdep-rebuild, then try again.
Yep, solved it. Sorry to bug you. Thanks for the help!
Thanks for reporting back, closing.
*** Bug 135475 has been marked as a duplicate of this bug. ***