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: libzstd.so.1 (automagic zstd?)
Product: Gentoo Linux Reporter: Roman <romank>
Component: Current packagesAssignee: Naohiro Aota <naota>
Status: RESOLVED FIXED    
Severity: major CC: amadio, dlan, sam, zlogene
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
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: libzstd.so.1`

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: libzstd.so.1: 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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a5ad8fb6c6ac1f39b95c936e5824d792e5104df

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

    dev-util/perf: fix bugs 727096, 790836, 795147, and 821175
    
    Closes: https://bugs.gentoo.org/727096
    Closes: https://bugs.gentoo.org/790836
    Closes: https://bugs.gentoo.org/795147
    Closes: https://bugs.gentoo.org/821175
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

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