Problem with shaderc, spirv-tools and mpv
Hello, since I have updated shaderc to version 2022.3 mpv is broken. When trying to play a video with mpv I get this: mpv --vo=gpu --hwdec=vaapi movie.mp4 mpv: symbol lookup error: /usr/lib/libshaderc_shared.so.1: undefined symbol: _ZTVN8spvtools5utils5TimerE I have tried rebuilding mpv but compilation fails: /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libshaderc_combined.a(compiler.cc.o): undefined reference to symbol '_ZN7glslang7TShader19setShiftSsboBindingEj' /usr/bin/ld: /usr/lib/libSPIRV.so: error adding symbols: DSO missing from command line I also tried rebuilding spirv-tools and ffmpeg which both succeeded but the mpv runtime and compilation issues remain. Also revdep does not show any output. Any hints on how to fix this? Best regards Markus Heinz
Greetings, I had exactly the same problem. Resolved by rollback to previous versions of glslang and spirv-tools ;) On Tue, 25 Oct 2022 at 21:56, Markus Heinz <markus.heinz@uni-dortmund.de> wrote:
Hello,
since I have updated shaderc to version 2022.3 mpv is broken.
When trying to play a video with mpv I get this:
mpv --vo=gpu --hwdec=vaapi movie.mp4 mpv: symbol lookup error: /usr/lib/libshaderc_shared.so.1: undefined symbol: _ZTVN8spvtools5utils5TimerE
I have tried rebuilding mpv but compilation fails:
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libshaderc_combined.a(compiler.cc.o):
undefined reference to symbol '_ZN7glslang7TShader19setShiftSsboBindingEj' /usr/bin/ld: /usr/lib/libSPIRV.so: error adding symbols: DSO missing from command line
I also tried rebuilding spirv-tools and ffmpeg which both succeeded but the mpv runtime and compilation issues remain.
Also revdep does not show any output.
Any hints on how to fix this?
Best regards
Markus Heinz _______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
participants (2)
-
Ilya Solovyov
-
Markus Heinz