/usr/sbin/nordvpnd: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

Hi.

I am also having a similar issue with NordVPN. In this topic posted earlier this month, it was suggested to install a package “libxml2-2”, but it seems it is no longer available in the repos.

Instead, I have a package libxml2.-16 with a version number 2.14.5-1.1 installed, yet, as per the previous thread similar to this topic, it seems NordVPN needs libxml2.so.2 to work.

It is somewhat clear that Tumbleweed moved completely to libxml2-16, yet, NordVPN still somehow depends on an older library.

Thus, any fix I could apply to fix this issue for now.

I am still waiting for NordVPN to get back to me so I inform them to probably update the app to make use of the updated version of libxml2.

Thank you.

Search results for 'libxml nordvpn order:latest' - openSUSE Forums might prove helpful.

(ETA: That’s probably the ‘earlier thread’ you mentioned, but there are solutions linked in that thread to a different piece of software (Viber) that has the same requirement)

Yes, definitely this thread.

But the solution provided herein references to libxlml2.so.2, which I do not have on my system.

These are the one I have in my /usr/lib64 folder:

libxml2.so
libxml2.so.16
libxml2.so.16.0.5
libxml+±3.0.so.1
libxml+±3.0.so.1.0.0
libxmlb.so.2
libxmlb.so.2.0.0

Are the any above could be of any solution too?

It’s a little deeper, in a thread about Viber - installing libxml2-devel worked for the person here: Viber does not run after latest updates - or just manually creating the symlink as they suggested.

I tried the approach provided therein but still it wasn’t successful.

Complained of unable to link to libxml2.so.2 despite libxlm2-devel installed.

Anyway, NordVPN released another version 4.2.1 recently, yet it doesn’t resolve anything for me.

I will continue to troubleshoot in the meantime.

Provide the terminal output…

You can manually create the link to the libxml2-16 library per the other discussion - that should work. Otherwise, as suggested, provide the terminal output (along with the commands you’re running) to create the link.

libxml2-2 can still be had if you really want or need it:

# inxi -S
System:
  Host: fi965 ... Distro: openSUSE Tumbleweed-Slowroll 20251002
# zypper --no-refresh se -s libxml2-2 | grep -v '32bit|debug|devel|srcp|openSUSE-20' | egrep 'x86|noarch'| sort -f
il | libxml2-2                 | package | 2.13.8-3.1 | x86_64 | OSS
il | libxml2-2                 | package | 2.13.8-3.1 | x86_64 | Update
#

This is same version recently retired from TW. Local cache shows:

$ ls -gG zyp*/*/x86_64/libxml2-2*rpm
-rw-r--r-- 1 684545 Jul 23 18:54 zyptw/OSS/x86_64/libxml2-2-2.13.8-3.1.x86_64.rpm
-rw-r--r-- 1 684545 Oct  8 23:31 zypsr/Update/x86_64/libxml2-2-2.13.8-3.1.x86_64.rpm
$
1 Like

Google Earth Pro grumbled about it… a simple ln -s /usr/lib64/libxml2.so.16 /usr/lib64/libxml2.so.2 fixed it…

2 Likes

My apology for being for late reply. I didn’t have access to my PC since I travelled out of town.

I will provide my terminal output in due course once I renew my subscription as well.

Thank you.

Will do so, thank you.

I will provide feedback as soon as possible.