FS#79321 - [perf] error while loading shared libraries: libperl.so: cannot open shared object file: No such fil

Attached to Project: Arch Linux
Opened by Oleksandr Natalenko (post-factum) - Monday, 07 August 2023, 12:40 GMT
Last edited by freswa (frederik) - Monday, 07 August 2023, 16:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To freswa (frederik)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

perf 6.3-4
perl 5.36.1-2

[~]> perf --version
perf: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory

[~]> ldd /usr/bin/perf | grep perl
libperl.so => not found

[~]> pkgfile -l perl | grep libperl.so
core/perl /usr/lib/perl5/5.36/core_perl/CORE/libperl.so

[~]> LD_LIBRARY_PATH=/usr/lib/perl5/5.36/core_perl/CORE perf --version
perf version 6.3-4
This task depends upon

Closed by  freswa (frederik)
Monday, 07 August 2023, 16:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  perl now in [core]
Comment by Arthur Carcano (acarcano) - Monday, 07 August 2023, 14:48 GMT
I think this is because the package was built against perl 5.38 which is still in testing.

╰─>$ readelf -d /usr/bin/perf | grep RUNPATH
0x000000000000001d (RUNPATH) Library runpath: [/usr/lib/perl5/5.38/core_perl/CORE]
Comment by Oleksandr Natalenko (post-factum) - Monday, 07 August 2023, 15:09 GMT
OK, new perl has just landed, and this fixed the issue.

Loading...