FS#79278 - [perf] Missing dependency for libsframe.so
Attached to Project:
Arch Linux
Opened by Jarmo (JATothrim) - Wednesday, 02 August 2023, 12:01 GMT
Last edited by freswa (frederik) - Friday, 04 August 2023, 20:28 GMT
Opened by Jarmo (JATothrim) - Wednesday, 02 August 2023, 12:01 GMT
Last edited by freswa (frederik) - Friday, 04 August 2023, 20:28 GMT
|
Details
Description:
perf-6.3-2 package is missing dependencies: libsframe.so.0 => not found Additional info: * Install perf-6.3-2 * "perf: error while loading shared libraries: libsframe.so.0: cannot open shared object file: No such file or directory" * "ldd /usr/bin/perf" shows: `libsframe.so.0 => not found` Steps to reproduce: * Install/Upgrade to extra/perf-6.3-2 the package has missing dependency for `libsframe.so.0` and perf cannot be run at all. I cannot find any package that would provide sframe shared library so I'm unable to easily fix the problem. It is not available from base, extra or even AUR either. perf-6.3-3 is apparently in testing, is this fixed in that version? |
This task depends upon
Closed by freswa (frederik)
Friday, 04 August 2023, 20:28 GMT
Reason for closing: Fixed
Additional comments about closing: perf-6.3-4
Friday, 04 August 2023, 20:28 GMT
Reason for closing: Fixed
Additional comments about closing: perf-6.3-4
pacman -Qo /lib/libsframe.so.0
/usr/lib/libsframe.so.0 is owned by binutils 2.40-6
And back on the normal system:
/usr/lib/libsframe.so is owned by binutils 2.41-1
Like @Doug said /usr/lib/libsframe.so.1 does exist.
So the library is not missing and I upgraded at bad time before perf was built against binutils 2.41-1
I guess I have to temporally build the package myself to fix it until new build arrives?
Edit: Built perf-6.3-3 package and got it working...
Waiting for a rebuild then.
But maybe this is a case of a missing dependency if perf could get out of sync w.r.t. binutils?
No, it's not a missing dep. Check the deps yourself, the dep being there or not has nothing to do with it getting 'out of sync'.
> DO NOT make symlinks between libraries with different ABIs. Terrible idea.
I know, but I needed to use perf and it happened to not crash :)
I only suggest it as a quick hack until we get the update package.
> the dep being there or not has nothing to do with it getting 'out of sync'.
Ah I see, sorry. I thought there were some safeguards to make sure a fully updated Arch be "self-consistent", if you see what I mean.
Is it just that the package(s) did not have version restrictions on binutils dependency?
I.e. pacman -Syu was allowed upgrading binutils to 2.41 (has the soname bump) and
keeping installed linux-tools packages at their current version?
Would have "depends=(... 'binutils<2.41' ... )" on perf and related packages prevented this 'silent' breakage?
/usr/lib # ln -s libsframe.so.1 libsframe.so.0
which will make it run just fine (but be aware it is a massive hack)