[ARM Unstable Update] 2025-05-05 - Linux, Firefox, LibreOffice, Thunderbird, Vlc

Hi,

Thanks to the Manjaro ARM devs.
Manjaro ARM Unstable Update Topic For May.

It’s time for you to update your ARM device(s) running Manjaro ARM, whatever your ARM device(s) or desktop environment.


Find the packages version with the Branch Compare Page

https://manjaristas.org/branch_compare?q=plasma&arm=on


Download the official Manjaro ARM images on the Manjaro website

https://manjaro.org/products/download/arm


Build your own Manjaro ARM images, read this wiki post

https://forum.manjaro.org/t/wiki-how-to-contribute-to-manjaro-arm/35461

To add or remove some packages modify this file (choose your desktop environment here)
/usr/share/manjaro-arm-tools/profiles/arm-profiles/editions/

Find the build image here
/var/cache/manjaro-arm-tools/img/


For your ARM kernel device see the link below

Manjaro ARM Linux Kernel


You’re welcome to post, feedback from users is a part of software development

Enjoy !

2 Likes
mpv: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
1 Like

Oops. arch-arm needs to rebuild mpv.

1 Like

It’s more that just a rebuild.

[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.

sudo ln -s /usr/lib/libxml2.so.16.0.2 /usr/lib/libxml2.so.2

I was about to post the same solution but I don’t understand why.
Latest update removed libxml2.so.2, which causes issues with binaries built in other distros

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 …”

Don’t understand but libxml2-legacy now exist.

sudo rm /usr/lib/libxml2.so.2
yay -S libxml2-legacy
libxml2-legacy /usr/lib/libxml2-legacy/lib/libxml2.so
libxml2-legacy /usr/lib/libxml2-legacy/lib/libxml2.so.2
libxml2-legacy /usr/lib/libxml2-legacy/lib/pkgconfig/
libxml2-legacy /usr/lib/libxml2-legacy/lib/pkgconfig/libxml-2.0.pc
libxml2-legacy /usr/lib/libxml2.so.2
libxml2-legacy /usr/lib/libxml2.so.2.13.8

Binary compatibility is restricted to versions 2.14 or newer. On ELF
systems, the soname was bumped from libxml2.so.2 to libxml2.so.16.

With libxml2-legacy installed all seems good.

2 Likes

Thanks for pointing out this specific package that I didn’t know: libxml2-legacy

Success 2025.05.05 Manjaro ARM Unstable update
Plasma Wayland

Odroid C2
Odroid N2
Odroid C4
Odroid M1

Enjoy !

3 Likes

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”.

1 Like

Another small update today in unstable. I forgot how many packages but over 100.

2 Likes

NEVER symlink an incompatible library. Revert that and make sure you’re fully up to date.

The current version of mpv (1:0.40.0-2) is built on the new libxml2 (2.14.2-2) library:

❯ ldd /usr/bin/mpv | grep libxml2
	libxml2.so.16 => /usr/lib/libxml2.so.16 (0x00007ba4152d9000)
1 Like

FYI, with the new libxml2 install mpv will not launch:

mpv: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

To resolve it apparently there are various methods including installing " libxml2-legacy" or

sudo ln -s /usr/lib/libxml2.so.16.0.2 /usr/lib/libxml2.so.2

The above workaround does work but mpv will complain about “format…”

Have chosen to copy over the older “libxlm2.so.2.13.8” to coexist with the new “libxml2.so.16.0.2”. Not sure whether this is the good option.

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.

Sync with arch-arm today: 324 packages

There is something messed up with mpv on the ARM side. It appears to want 2 versions of libxml2:

[ray@rock64 ~]$ ldd /usr/bin/mpv | grep libxml2
	libxml2.so.2 => not found
	libxml2.so.16 => /usr/lib/libxml2.so.16 (0x0000ffffa8c00000)

With libxml2 and libxml2-legacy installed which kodi and mpv now working with no errors:

[ray@jellyfin libarchive]$ ldd /usr/bin/mpv | grep libxml2
	libxml2.so.2 => /usr/lib/libxml2.so.2 (0x0000ffff2e6b0000)
	libxml2.so.16 => /usr/lib/libxml2.so.16 (0x0000ffff2d000000)

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.

1 Like

Does not compute. Everything I just said I checked on my Pinebook Pro on arm-unstable. Something is wrong if you have different results.

1 Like

Interesting. I believe I will rebuild ffmpeg-rpi when I get some rest and see if that is the issue. A lot of us use ffmpeg-rpi.

[ray@rock64 ~]$ ldd /usr/bin/ffmpeg | grep libxml2
	libxml2.so.2 => not found
	libxml2.so.16 => /usr/lib/libxml2.so.16 (0x0000ffff966b0000)

ADDED:

rpi-ffmpeg was the issue. New rpi-ffmpeg-7.1.1-2 pushed to unstable when the mirrors sync.

With lixml2-legacy removed:

[ray@jellyfin ~]$ ldd /usr/bin/ffmpeg | grep libxml2
	libxml2.so.16 => /usr/lib/libxml2.so.16 (0x0000fffec6720000)
[ray@jellyfin ~]$ ldd /usr/bin/mpv | grep libxml2
	libxml2.so.16 => /usr/lib/libxml2.so.16 (0x0000ffff724d0000)

Thanks. Orange Pi 5 Plus-KDE Edition upgraded successfully to KDE Plasma-6.3.5 and kernel linux-6.14.6-1. linux-6.14.6-1 boot up successfully.

GT King Pro-Gnome Edition upgraded successfully. With the new rpi-ffmpeg, mpv no longer requires “libxml2.so.2”.

2 Likes