Sample Header Ad - 728x90

cpupower and libcpupower

1 vote
2 answers
2204 views
cpupower fails sometime to execute with this error : cpupower: error while loading shared libraries: libcpupower.so.0: cannot open shared object file: No such file or directory I've compiled and installed the last cpupower tool from sources on my workstation. The Makefile install command installs the libs in /usr/local/lib and my LD_LIBRARY_PATH is set accordingly : syl@WorkStation-T3500:~$ echo $LD_LIBRARY_PATH :/usr/local/lib/ lrwxrwxrwx 1 root root 20 juin 26 11:46 libcpupower.so -> libcpupower.so.0.0.1 lrwxrwxrwx 1 root root 20 juin 26 11:46 libcpupower.so.0 -> libcpupower.so.0.0.1 -rwxr-xr-x 1 root root 77048 juin 26 11:46 libcpupower.so.0.0.1 l A simple cpupower info query works nice : syl@WorkStation-T3500:~$ cpupower frequency-info analyzing CPU 0: driver: intel_pstate CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: Cannot determine or is not supported. hardware limits: 1.20 GHz - 3.20 GHz available cpufreq governors: performance powersave current policy: frequency should be within 1.20 GHz and 3.20 GHz. The governor "powersave" may decide which speed to use within this range. current CPU frequency: Unable to call hardware current CPU frequency: 1.20 GHz (asserted by call to kernel) boost state support: Supported: yes Active: yes Nervetheless, here is what happens when I try to set some policy : syl@WorkStation-T3500:~$ sudo cpupower frequency-set --governor userspace cpupower: error while loading shared libraries: libcpupower.so.0: cannot open shared object file: No such file or directory May I ask you some hints about this strange issue ? All the best Sylvain
Asked by Sylvain Rousseau (11 rep)
Jun 26, 2018, 10:08 AM
Last activity: Jun 26, 2025, 08:06 PM