FS#79291 - [bpftrace] bpftrace: error while loading shared libraries: libsframe.so.0: cannot open shared object

Attached to Project: Arch Linux
Opened by Jan Holthuis (Holzhaus) - Thursday, 03 August 2023, 20:40 GMT
Last edited by freswa (frederik) - Friday, 04 August 2023, 15:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
`bpftrace` does not work, because `libsframe.so.0` seems to be missing:

$ sudo bpftrace -e 'tracepoint:syscalls:sys_enter_exec*{ printf("pid: %d, comm: %s, args: ", pid, comm); join(args->argv); }'
bpftrace: error while loading shared libraries: libsframe.so.0: cannot open shared object file: No such file or directory

$ paru -Ss bpftrace
extra/bpftrace 0.18.0-1 [0B 8.51MiB] [Installed]
High-level tracing language for Linux eBPF

Additional info:
* package version(s): 0.18.0-1

Steps to reproduce:
1. Run the `bpftrace` command. See description above for an example.
This task depends upon

Closed by  freswa (frederik)
Friday, 04 August 2023, 15:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  bpftrace-0.18.0-2
Comment by helle vaanzinn (glitsj16) - Thursday, 03 August 2023, 22:14 GMT
Looks like bpftrace needs a rebuild.

https://archlinux.org/packages/core/x86_64/binutils/files/
[...]
usr/lib/libsframe.so
usr/lib/libsframe.so.1
usr/lib/libsframe.so.1.0.0
[...]
Comment by Toolybird (Toolybird) - Thursday, 03 August 2023, 22:21 GMT
Undeclared dep on binutils

Loading...