Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: error while loading shared libraries: libxm2.so.2:cannot open shared object (Read 964 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

error while loading shared libraries: libxm2.so.2:cannot open shared object

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

Re: error while loading shared libraries: libxm2.so.2:cannot open shared object

Reply #1
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?

Re: error while loading shared libraries: libxm2.so.2:cannot open shared object

Reply #2
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

Re: error while loading shared libraries: libxm2.so.2:cannot open shared object

Reply #3
Should be fixed now; pls try again.

artist

Re: error while loading shared libraries: libxm2.so.2:cannot open shared object

Reply #4
Thanks much