Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 795147

Summary: dev-util/perf-5.9.9: perf: error while loading shared libraries: (automagic zstd?)
Product: Gentoo Linux Reporter: Roman <romank>
Component: Current packagesAssignee: Naohiro Aota <naota>
Severity: major CC: amadio, dlan, sam, zlogene
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---

Description Roman 2021-06-10 00:13:06 UTC
perf is missing a library at runtime:
`perf: error while loading shared libraries:`

Adding app-arch/zstd to RDEPEND fixes it
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-10 03:21:28 UTC
Try to give full output in future if possible (and emerge --info, even if it seems pointless).
Comment 2 Roman 2021-06-10 18:13:08 UTC
Sorry, it's my fist time filing a bug.
The perf installs just fine but at the run time I get:
$ perf
perf: error while loading shared libraries: cannot open shared object file: No such file or directory
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-09 03:46:38 UTC
I tried for a while to disable this and got nowhere for some reason.
Comment 4 Larry the Git Cow gentoo-dev 2021-11-10 12:31:42 UTC
The bug has been closed via the following commit(s):

commit 3a5ad8fb6c6ac1f39b95c936e5824d792e5104df
Author:     Guilherme Amadio <>
AuthorDate: 2021-11-10 12:19:05 +0000
Commit:     Guilherme Amadio <>
CommitDate: 2021-11-10 12:31:05 +0000

    dev-util/perf: fix bugs 727096, 790836, 795147, and 821175
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Guilherme Amadio <>

 .../perf/{perf-5.12.ebuild => perf-5.12-r1.ebuild} | 28 ++++++++++++++--------
 1 file changed, 18 insertions(+), 10 deletions(-)