[336/338] Generating mpv_protocols with a custom command (wrapped by meson to capture output)
FAILED: mpv_protocols
/usr/bin/meson --internal exe --capture mpv_protocols -- /home/bloodmoon/.cache/yay/mpv-git/src/mpv/build/mpv --no-config --list-protocols
--- stderr ---
/home/bloodmoon/.cache/yay/mpv-git/src/mpv/build/mpv: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
[337/338] Generating manpages with a custom command
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: mpv-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
mpv-git - exit status 4
[342/344] Generating mpv_protocols wit...d (wrapped by meson to capture output)
FAILED: mpv_protocols
/usr/bin/meson --internal exe --capture mpv_protocols -- /home/ray/Desktop/hhhh/mpv/src/build/mpv --no-config --list-protocols
--- stderr ---
/home/ray/Desktop/hhhh/mpv/src/build/mpv: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
[343/344] Generating manpages with a custom command
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
I tried to build mpv here and ran into the same error when building. There seems to be missing a module link. This fixed it on the current mpv in the repo.
There is still something amiss with the lixml2 module although mpv seems to run ok. Kodi is giving the same “/usr/lib/libxml2.so.2: no version information available …”
GT King Pro Gnome Edition with linux-aml-6.12.21-4. Upgraded successfully. Resolve mpv issue by copying “libxlm2.so.2.13.8” from another image and symlink “libxml2.so.2”.
There’s nothing to workaround. I’ve already shown you that your issue is not reproducible. Either you’re holding back packages or using AUR packages that have not been rebuilt.
I have tried to rebuild mpv but it kicks out with an error:
--- stderr ---
/home/ray/Desktop/hhhh/mpv/src/build/mpv: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
There is no depend in the mpv PKGBUILD for libxml2 so my best guess is a couple of the depends is pulling in 2 different versions of libxml2 and one of those depends needs a rebuild but that would take a long time to figure out which one as there are quite a few.