You are not logged in.

#1 2024-12-02 16:24:12

sosonok
Member
Registered: 2008-11-18
Posts: 70

[SOLVED] [mpv, ffmpeg] libSPIRV.so.14: cannot open shared object file

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

#2 2024-12-02 16:27:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,182

Re: [SOLVED] [mpv, ffmpeg] libSPIRV.so.14: cannot open shared object file

with what version of ffmpeg? You are responsible for rebuilding any foreign packages when they need to be.

Offline

#3 2024-12-02 16:30:24

sosonok
Member
Registered: 2008-11-18
Posts: 70

Re: [SOLVED] [mpv, ffmpeg] libSPIRV.so.14: cannot open shared object file

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

#4 2024-12-02 16:30:53

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,182

Re: [SOLVED] [mpv, ffmpeg] libSPIRV.so.14: cannot open shared object file

then use lddtree from the pax-utils package to see what's actually pulling in the old lib.

Offline

#5 2024-12-02 17:29:56

seth
Member
Registered: 2012-09-03
Posts: 59,882

Re: [SOLVED] [mpv, ffmpeg] libSPIRV.so.14: cannot open shared object file

pacman -Qi libplacebo shaderc

Offline

#6 2024-12-02 21:21:48

sosonok
Member
Registered: 2008-11-18
Posts: 70

Re: [SOLVED] [mpv, ffmpeg] libSPIRV.so.14: cannot open shared object file

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

#7 2024-12-02 21:24:16

seth
Member
Registered: 2012-09-03
Posts: 59,882

Re: [SOLVED] [mpv, ffmpeg] libSPIRV.so.14: cannot open shared object file

Nombre                    : shaderc-non-semantic-debug
Scimmia wrote:

You are responsible for rebuilding any foreign packages when they need to be.

Offline

#8 2024-12-02 21:52:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,182

Re: [SOLVED] [mpv, ffmpeg] libSPIRV.so.14: cannot open shared object file

Yep.

libshaderc_shared.so.1 => /usr/lib/libshaderc_shared.so.1
                libSPIRV.so.14 => None

Offline

#9 2024-12-03 21:48:59

luthis
Member
Registered: 2016-02-12
Posts: 10

Re: [SOLVED] [mpv, ffmpeg] libSPIRV.so.14: cannot open shared object file

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

#10 2024-12-04 04:53:28

krompus
Member
Registered: 2015-05-19
Posts: 4

Re: [SOLVED] [mpv, ffmpeg] libSPIRV.so.14: cannot open shared object file

luthis wrote:

Solved by using lddtree and replacing shaderc-non-semantic-debug with shaderc

Thank you!

Offline

#11 2024-12-04 21:49:10

JosepF
Member
Registered: 2023-08-28
Posts: 7

Re: [SOLVED] [mpv, ffmpeg] libSPIRV.so.14: cannot open shared object file

luthis wrote:

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] y

Packages (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

#12 2024-12-04 22:32:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,182

Re: [SOLVED] [mpv, ffmpeg] libSPIRV.so.14: cannot open shared object file

lddtree is the tool to find where the problem is, not to fix it.

Offline

Board footer

Powered by FluxBB