Artix Linux Forum

Artix Linux => Package management => Topic started by: mardiyah on 17 May 2025, 12:07:39

Title: error while loading shared libraries: libxm2.so.2:cannot open shared object
Post by: mardiyah on 17 May 2025, 12:07:39
Latest DB update:

Code: [Select]
$ telegram-desktop
telegram-desktop: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

How Artix solution here as 'Older brother' ARCH Linux point out so:
https://bbs.archlinux.org/viewtopic.php?id=305296
Title: Re: error while loading shared libraries: libxm2.so.2:cannot open shared object
Post by: TheExplorer on 18 May 2025, 13:22:09
Have you updated your system prior to running/installing anything new? Arch/Artix doesn't support partial updates.

First things first, the golden rule:
Code: [Select]
sudo pacman -Syu

Also, how is your Telegram installed? From the official repos?
Title: Re: error while loading shared libraries: libxm2.so.2:cannot open shared object
Post by: mardiyah on 26 May 2025, 04:58:29
Seems likely its libxml2 could be obtained via webkitgtk-6
as updateing webkitgtk-6 solve it..

Now

Code: [Select]
$ pacman -Ss telegram-desktop
galaxy/telegram-desktop 5.14.3-1 [installed]
    Official Telegram Desktop client


$ telegram-desktop

$ telegram-desktop: error while loading shared libraries: libprotobuf-lite.so.30.2.0: cannot open shared object file: No such file or directory

$ sudo pacman -S protobuf -s
world/protobuf 31.0-2 [installed]
    Protocol Buffers - Google's data interchange format


So now how to solve on this
Title: Re: error while loading shared libraries: libxm2.so.2:cannot open shared object
Post by: Artist on 26 May 2025, 09:20:18
Should be fixed now; pls try again.

artist
Title: Re: error while loading shared libraries: libxm2.so.2:cannot open shared object
Post by: mardiyah on 27 May 2025, 03:00:01
Thanks much