Summary: | dev-util/glslang: gui-libs/wlroots configure error due to /usr/bin/glslangValidator: error while loading shared libraries: libSPIRV-Tools-opt.so: cannot open shared object file: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aivan <biv888iii888> |
Component: | Current packages | Assignee: | Nick Sarnie <sarnex> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | parona, sarnex |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Aivan
2023-12-28 13:17:48 UTC
This looks more like dev-util/glslang missing a RDEPEND to use spriv-tools and that you somehow don't have a working preserved-rebuild which shouldve preserved the libraries when you most likely depcleaned it. $ /usr/bin/glslangValidator --version Glslang Version: 11:13.1.1 ESSL Version: OpenGL ES GLSL 3.20 glslang Khronos. 13.1.1 GLSL Version: 4.60 glslang Khronos. 13.1.1 SPIR-V Version 0x00010600, Revision 1 GLSL.std.450 Version 100, Revision 1 Khronos Tool ID 8 SPIR-V Generator Version 11 GL_KHR_vulkan_glsl version 100 ARB_GL_gl_spirv version 100 $ ldd /usr/bin/glslangValidator linux-vdso.so.1 (0x00007fffc15d7000) libglslang.so.13 => /usr/lib64/libglslang.so.13 (0x00007fbff1400000) libSPIRV.so.13 => /usr/lib64/libSPIRV.so.13 (0x00007fbff0800000) libglslang-default-resource-limits.so.13 => /usr/lib64/libglslang-default-resource-limits.so.13 (0x00007fbff183c000) libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/14/libstdc++.so.6 (0x00007fbff0400000) libc.so.6 => /lib64/libc.so.6 (0x00007fbff0215000) libm.so.6 => /lib64/libm.so.6 (0x00007fbff175c000) /lib64/ld-linux-x86-64.so.2 (0x00007fbff18a4000) libSPIRV-Tools-opt.so => /usr/lib64/libSPIRV-Tools-opt.so (0x00007fbfefe00000) libSPIRV-Tools.so => /usr/lib64/libSPIRV-Tools.so (0x00007fbff1282000) libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/14/libgcc_s.so.1 (0x00007fbff1727000) In the future please include build.log and emerge --info with the bug report. What version of dev-util/glslang you have would be useful as well. I had the same issue building net-im/tokodon: /usr/lib/gcc/aarch64-unknown-linux-gnu/13/../../../../aarch64-unknown-linux-gnu/bin/ld: warning: libSPIRV-Tools-opt.so, needed by /usr/lib64/libSPIRV.so.13, not found (try using -rpath or -rpath-link) /usr/lib/gcc/aarch64-unknown-linux-gnu/13/../../../../aarch64-unknown-linux-gnu/bin/ld: warning: libSPIRV-Tools.so, needed by /usr/lib64/libSPIRV.so.13, not found (try using -rpath or -rpath-link) /usr/lib/gcc/aarch64-unknown-linux-gnu/13/../../../../aarch64-unknown-linux-gnu/bin/ld: /usr/lib64/libSPIRV.so.13: undefined reference to `spvtools::Optimizer::PassToken::~PassToken()' Because I merged dev-util/glslang from a binary package and dev-util/spirv-tools is a build-time dependency, so it was never pulled as a dependency for me. I think dev-util/spirv-tools should be added to the RDEPEND of dev-util/glslang as it has been proved that it's also required at runtime. Sorry for missing this, will look at it today. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b34e2d856eb9db4f4f6ce90c1193524228a4a80 commit 9b34e2d856eb9db4f4f6ce90c1193524228a4a80 Author: Nick Sarnie <sarnex@gentoo.org> AuthorDate: 2024-01-18 01:18:33 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2024-01-18 01:20:09 +0000 dev-util/glslang: set RDEPEND Closes: https://bugs.gentoo.org/920888 Signed-off-by: Nick Sarnie <sarnex@gentoo.org> dev-util/glslang/glslang-1.3.275.ebuild | 1 + dev-util/glslang/glslang-9999.ebuild | 1 + 2 files changed, 2 insertions(+) |