Skip to main content
Topic: Vpn unlimited not working after update (Read 2509 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Vpn unlimited not working after update

Hi, after the latest upgrades vpn (keepsolid) not working
I have installed the package from AUR. I tried with dpkg but a lot of dependencies are missing.
Here is the message I am taking:
Code: [Select]
sudo /usr/bin/vpn-unlimited-daemon 
/usr/bin//vpn-unlimited-daemon: symbol lookup error: /usr/lib/libvpnu_private_sdk.so.1: undefined symbol: EVP_CIPHER_block_size
any help?

Re: Vpn unlimited not working after update

Reply #1
Send the output of ldd /usr/bin/vpn-unlimited-daemon.

I'm pretty sure it's broken due to OpenSSL 3 becoming the default on Artix/Arch last week while Ubuntu stuck with OpenSSL 1.x.

Re: Vpn unlimited not working after update

Reply #2
Code: [Select]
ldd /usr/bin/vpn-unlimited-daemon
        linux-vdso.so.1 (0x00007ffcfaff2000)
        libvpnu_private_sdk.so.1 => /usr/lib/libvpnu_private_sdk.so.1 (0x00007f96e6c00000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f96e76cf000)
        libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x00007f96e6600000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f96e76ca000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f96e6200000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f96e76aa000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f96e6019000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f96e7708000)
        libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007f96e7600000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f96e75e6000)
        libdouble-conversion.so.3 => /usr/lib/libdouble-conversion.so.3 (0x00007f96e75d0000)
        libicui18n.so.72 => /usr/lib/libicui18n.so.72 (0x00007f96e5c00000)
        libicuuc.so.72 => /usr/lib/libicuuc.so.72 (0x00007f96e5800000)
        libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0x00007f96e7540000)
        libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f96e7157000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f96e64c1000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f96e706f000)
        libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007f96e6bd4000)
        libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007f96e6bb2000)
        libssh2.so.1 => /usr/lib/libssh2.so.1 (0x00007f96e6b70000)
        libpsl.so.5 => /usr/lib/libpsl.so.5 (0x00007f96e705b000)
        libssl.so.3 => /usr/lib/libssl.so.3 (0x00007f96e5f79000)
        libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x00007f96e5200000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f96e646d000)
        libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f96e6b62000)
        libicudata.so.72 => /usr/lib/libicudata.so.72 (0x00007f96e3400000)
        libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007f96e5b65000)
        libunistring.so.5 => /usr/lib/libunistring.so.5 (0x00007f96e3246000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f96e5a8d000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f96e6b34000)
        libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007f96e7055000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f96e6b26000)
        libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007f96e6466000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f96e6454000)
        libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f96e5f56000)

Re: Vpn unlimited not working after update

Reply #3
First run pacman -S openssl-1.1 patchelf. First package is the version of openssl this program wants, and we're going to use patchelf to redirect the program to the correct openssl.

Second, copy this script:

Code: [Select]
#!/bin/sh -e
for exe in /usr/bin/vpn-unlimited-daemon /usr/lib/libvpnu_private_sdk.so; do
  for lib in libcrypto libssl; do
    patchelf --remove-needed "$lib".so.3 "$exe"
    patchelf --add-needed "$lib".so.1.1 "$exe"
  done
done

Paste it in a text editor, save it to your home folder as fix-vpn.sh. Then open a terminal, chmod +x fix-vpn.sh and sudo ./fix-vpn.sh.


I'm not even sure how it works on Debian as there's no file named lib{cryto,ssl}.so.3 on their openssl package.


This wouldn't have happened if you used a VPN that shipped Wireguard or OpenVPN configuration (which Artix can ensure works with the OpenSSL shipped in the repositories) instead of a closed-source blob.


Re: Vpn unlimited not working after update

Reply #5
Worked for me! Thanks.

Re: Vpn unlimited not working after update

Reply #6
Hi,
Thanks so much for this. Found through looking on comments in AUR for this package.(using a Arch different deriv not Manjaro don't worry!  ;D ).
Could you please run by me again, exactly what I need to do to repair this package in Arch(and derivs).


I did manage to go through the depends depackaging  the DEB file, from the website, and find their equiv new depends and repackage it, so that it installs on Ubuntu 22.04 derivs PopOS but had the same issue.

This script may probably fix,  them too, what was beyond my skillset  hopefully.

As many others have done, already, I contacted the devs at Keep Solid and nobody could give me a date of upgrading the package and the GPG keys and licenses are a year out of date now(good work). I tried to reason that, if they're not interested, put the sourcecode on github and let the community do it for them. There's literally no logical reason for the proprietary blobs, Wireguard's been in the Kernel since 5.06.

The AUR maintainer, has  completely abandoned and is asking for somebody to take over.

I'm in, the unfortunate position, that I paid for a lifetime subscription with Keep Solid so, much as though I'd like to bin them off, not an option.

If you could please give Me exactly, verbatim, what I need to do after installing patchelf, as in something for an idiot to copy'n'paste, would be greatly appreciated. Never used patchelf before and "patchelf --help" was no help at all frankly.

Cheers.

Re: Vpn unlimited not working after update

Reply #7
Because vpn-unlimited is so vital, I'd actually gone and nuked my install, for PopOS 20.04(a painful regression after all these years).

Re: Vpn unlimited not working after update

Reply #8
Worked! No dnsleakage! Thank you!!!

Re: Vpn unlimited not working after update [SOLVED]

Reply #9
@cre8teq Just install the AUR package as it is currently, then follow the instructions on the post (or, instead of saving the code to a file, paste it into a root terminal and press enter).

Note that it won't work as-is on an extracted deb as it installs libvpnu_private_sdk.so and vpn-unlimited binaries to different folders.

Re: Vpn unlimited not working after update [SOLVED]

Reply #10
Hello and happy new year. After last update vpn-unlimited not working.

Code: [Select]
ldd /usr/bin/vpn-unlimited-daemon
        linux-vdso.so.1 (0x00007ffdae7d6000)
        libvpnu_private_sdk.so.1 => /usr/lib/libvpnu_private_sdk.so.1 (0x00007fdd78a00000)
        libboost_thread.so.1.74.0 => /usr/lib/libboost_thread.so.1.74.0 (0x00007fdd78e86000)
        libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x00007fdd78400000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fdd78000000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fdd78e61000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007fdd77e1e000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fdd78fe2000)
        libcares.so.2 => /usr/lib/libcares.so.2 (0x00007fdd78e32000)
        libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007fdd78d77000)
        libboost_filesystem.so.1.74.0 => /usr/lib/libboost_filesystem.so.1.74.0 (0x00007fdd78d54000)
        libboost_locale.so.1.74.0 => /usr/lib/libboost_locale.so.1.74.0 (0x00007fdd78309000)
        libboost_chrono.so.1.74.0 => /usr/lib/libboost_chrono.so.1.74.0 (0x00007fdd78d48000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007fdd77d31000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007fdd78d2c000)
        libdouble-conversion.so.3 => /usr/lib/libdouble-conversion.so.3 (0x00007fdd78d16000)
        libicui18n.so.74 => /usr/lib/libicui18n.so.74 (0x00007fdd77800000)
        libicuuc.so.74 => /usr/lib/libicuuc.so.74 (0x00007fdd77400000)
        libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0x00007fdd78972000)
        libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007fdd77c5e000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fdd776b4000)
        libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007fdd78ce9000)
        libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007fdd78cc7000)
        libssh2.so.1 => /usr/lib/libssh2.so.1 (0x00007fdd782c0000)
        libpsl.so.5 => /usr/lib/libpsl.so.5 (0x00007fdd78cb3000)
        libssl.so.3 => /usr/lib/libssl.so.3 (0x00007fdd77b7e000)
        libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x00007fdd76e00000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007fdd77660000)
        libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007fdd78961000)
        libboost_system.so.1.74.0 => /usr/lib/libboost_system.so.1.74.0 (0x00007fdd7895c000)
        libicudata.so.73 => not found
        libicui18n.so.73 => not found
        libicuuc.so.73 => not found
        libicudata.so.74 => /usr/lib/libicudata.so.74 (0x00007fdd75000000)
        libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007fdd77365000)
        libunistring.so.5 => /usr/lib/libunistring.so.5 (0x00007fdd74e46000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007fdd74d6e000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007fdd78292000)
        libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007fdd78952000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007fdd78944000)
        libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007fdd7893d000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007fdd78281000)
        libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007fdd77b5b000)


The problem exists due to icu (upgrade from 73.2-2 => 74.2-1)
Is there any way to fix it?

Re: Vpn unlimited not working after update

Reply #11
following these steps

Quote
Download ICU 73.2 from https://github.com/unicode-org/icu/releases/tag/release-73-2
For convenience, I downloaded the binary package for Ubuntu 22.04 and copied all the libraries into /usr/local/lib (I disregarded the other content, lest it interferes with files installed and managed by my system)
    I then linked all the new libraries in /usr/local/lib from /usr/lib, e.g. sudo ln -s /usr/local/lib/libicudata.so.73 /usr/lib/libicudata.so.73 (you need to apply this for the other libicu* files as well).
    I restarted the vpn-unlimited daemon by running sudo systemctl start vpn-unlimited-daemon
    Check if it started up correctly: sudo systemctl status vpn-unlimited-daemon
    Now that the daemon has started, vpn-unlimited should run fine without the mentioned error message.
and installing boost174
vpn-unlimited worked

but...maybe a coincidence...after restart i have not internet connection (limited connectivity)