You are not logged in.
Since a few days ago, mpv and ffmpeg have stopped working, apparently both due to the same problem:
ffmpeg: error while loading shared libraries: libSPIRV.so.14: cannot open shared object file: No such file or directory
Installed version is libSPIRV.so.15
PD: fixed by installing shaderc (and uninstalling shaderc-non-semantic-debug)
Last edited by sosonok (2024-12-02 22:02:55)
Offline
with what version of ffmpeg? You are responsible for rebuilding any foreign packages when they need to be.
Offline
Yep, I know, but both are from extra repo:
extra/ffmpeg 2:7.1-3 [instalado]
extra/mpv 1:0.39.0-4 [instalado]
Offline
then use lddtree from the pax-utils package to see what's actually pulling in the old lib.
Offline
pacman -Qi libplacebo shaderc
Online
lddtree /usr/bin/ffmpeg
https://privatebin.net/?81bd7b7dd617264 … PJCaQQ6CSk
lddtree /usr/bin/mpv
https://privatebin.net/?666f95d7c97b189 … t89phGdjv8
pacman -Qi libplacebo shaderc
https://privatebin.net/?a5d93bba2823a55 … AX9RPpQsp8
Last edited by sosonok (2024-12-02 21:23:42)
Offline
Nombre : shaderc-non-semantic-debug
You are responsible for rebuilding any foreign packages when they need to be.
Online
Yep.
libshaderc_shared.so.1 => /usr/lib/libshaderc_shared.so.1
libSPIRV.so.14 => None
Offline
Thank you, I also had this issue when Jellyfin refused to load:
[2024-12-04 07:48:35.595 +13:00] [ERR] FFmpeg validation: The process returned no result
[2024-12-04 07:48:35.595 +13:00] [ERR] FFmpeg: Failed version check: "/usr/lib/jellyfin-ffmpeg/ffmpeg"
[2024-12-04 07:48:35.595 +13:00] [ERR] FFmpeg: Path set by "command line or environment variable" is invalid
[2024-12-04 07:48:35.596 +13:00] [FTL] Error while starting server
MediaBrowser.Common.FfmpegException: Failed to find valid ffmpeg
at Emby.Server.Implementations.ApplicationHost.RunStartupTasksAsync()
at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Solved by using lddtree and replacing shaderc-non-semantic-debug with shaderc
:: shaderc-2024.3-2 and shaderc-non-semantic-debug-2024.1-1 are in conflict. Remove shaderc-non-semantic-debug? [y/N] y
Last edited by luthis (2024-12-03 21:49:35)
Offline
Solved by using lddtree and replacing shaderc-non-semantic-debug with shaderc
Thank you!
Offline
Solved by using lddtree and replacing shaderc-non-semantic-debug with shaderc
Thank you!
p.s.: for newbies like me (that 'lddtree' confused me):
❯ sudo pacman -S shaderc
resolving dependencies...
looking for conflicting packages...
:: shaderc-2024.3-2 and shaderc-non-semantic-debug-2024.0-1 are in conflict. Remove shaderc-non-semantic-debug? [y/N] yPackages (2) shaderc-non-semantic-debug-2024.0-1 [removal] shaderc-2024.3-2
Total Download Size: 0.16 MiB
Total Installed Size: 0.69 MiB
Net Upgrade Size: 0.51 MiB:: Proceed with installation? [Y/n]
Offline
lddtree is the tool to find where the problem is, not to fix it.
Offline