WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: mpv.tcz is missing a dependency in TCL12 x86_64  (Read 1701 times)

Offline GNUser

  • Hero Member
  • *****
  • Posts: 1343
mpv.tcz is missing a dependency in TCL12 x86_64
« on: December 03, 2021, 06:49:53 AM »
Code: [Select]
bruno@x200:~$ mpv
mpv: error while loading shared libraries: libva-wayland.so.1: cannot open shared object file: No such file or directory
bruno@x200:~$ provides.sh libva-wayland.so.1
bruno@x200:~$
bruno@x200:~$ which mpv
/usr/local/bin/mpv
bruno@x200:~$ tce-status -i | grep mpv
mpv

Offline GNUser

  • Hero Member
  • *****
  • Posts: 1343
Re: mpv.tcz is missing a dependency in TCL12 x86_64
« Reply #1 on: December 03, 2021, 07:00:24 AM »
That library was last seen in TCL10 x86_64's libva.tcz. If I grab that extension from the repository and load it, then mpv seems to complain about something more serious:

Code: [Select]
bruno@x200:/mnt/data/Downloads$ wget http://repo.tinycorelinux.net/10.x/x86_64/tcz/libva.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
saving to 'libva.tcz'
libva.tcz            100% |********************************| 86016  0:00:00 ETA
'libva.tcz' saved
bruno@x200:/mnt/data/Downloads$ tce-load -i ./libva.tcz
libva.tcz: OK
bruno@x200:/mnt/data/Downloads$ mpv
ffmpeg library versions:
   libavutil       56.22.100 (runtime 56.70.100)
   libavcodec      58.35.100 (runtime 58.134.100)
   libavformat     58.20.100 (runtime 58.76.100)
   libswscale      5.3.100 (runtime 5.9.100)
   libavfilter     7.40.101 (runtime 7.110.100)
   libswresample   3.3.100 (runtime 3.9.100)
ffmpeg version: 4.4

mpv was compiled against a different version of FFmpeg/Libav than the shared
library it is linked against. This is most likely a broken build and could
result in misbehavior and crashes.

mpv does not support this configuration and will not run - rebuild mpv instead.

Exiting... (Fatal error)

I think mpv probably needs to be recompiled. Juanito is the maintainer. I could volunteer to recompile it if it would be helpful.
« Last Edit: December 03, 2021, 07:21:22 AM by GNUser »

Offline GNUser

  • Hero Member
  • *****
  • Posts: 1343
Re: mpv.tcz is missing a dependency in TCL12 x86_64
« Reply #2 on: December 06, 2021, 08:08:10 AM »
I recompiled and now it works fine. I took the liberty to go ahead and submit refreshed extensions.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: mpv.tcz is missing a dependency in TCL12 x86_64
« Reply #3 on: December 09, 2021, 12:24:48 AM »
Sorry, I missed answering this before - yes, please recompile mpv  :)

Offline GNUser

  • Hero Member
  • *****
  • Posts: 1343
Re: mpv.tcz is missing a dependency in TCL12 x86_64
« Reply #4 on: December 09, 2021, 05:30:22 PM »
It's always my pleasure to help TCL in whatever small ways I can.

I try to fix anything I notice is broken or missing, but I have to look pretty hard to find such ;D