Comment 20 for bug 1215411

Revision history for this message
Vlad Orlov (monsta) wrote :

So... the modified SONAME is apparently needed for the specific version of cpupower tool to depend strictly on the corresponding version of libcpupower.so.* from the same linux-tools-* package:

$ objdump -p /usr/lib/libcpupower.so.4.15.0-10 | grep SONAME
  SONAME libcpupower.so.4.15.0-10

$ ldd /usr/lib/linux-tools-4.15.0-10/cpupower | grep libcpupower
 libcpupower.so.4.15.0-10 => /usr/lib/libcpupower.so.4.15.0-10 (0x00007fb94ec4b000)

$ dpkg -S /usr/lib/linux-tools-4.15.0-10/cpupower
linux-tools-4.15.0-10: /usr/lib/linux-tools-4.15.0-10/cpupower

$ dpkg -S /usr/lib/libcpupower.so.4.15.0-10
linux-tools-4.15.0-10: /usr/lib/libcpupower.so.4.15.0-10

With such setup, it won't be possible to make mate-cpufreq-applet link against a symlink (like libcpupower.so.1) instead of the versioned library (like libcpupower.so.4.15.0-10).

I really don't know how to solve this without breaking that setup. Anyone has any ideas?