You are not logged in.

#1 2014-12-02 20:12:15

RobinJ
Member
From: Belgium, Europe
Registered: 2012-01-05
Posts: 21
Website

Getting "VPN Unlimited" to work

Hi

I've got a VPN from VPN Unlimited (which I don't recommend). They supposedly support Linux, but really they only support Ubuntu.
They provide deb packages, so I downloaded the 64-bit package and extracted it. The application inside of it won't run, and I'm hoping I can get some help here to get it running.

This is the error I'm getting;

[robin@pingu bin]$ ./vpn-unlimited
./vpn-unlimited: /usr/lib/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /usr/lib/libvpnu_rpc.so.1)
./vpn-unlimited: /usr/lib/libssl.so.1.0.0: no version information available (required by /usr/lib/libvpnu_enc.so.1)
[robin@pingu bin]$ echo $?
1

I have the latest versions of both curl and openssl installed on my system.

Offline

#2 2014-12-02 20:25:47

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Getting "VPN Unlimited" to work

For curl, you probably want the 03_keep_symbols_compat.patch from Ubuntu's curl:

-CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@4
+CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@3

Check out Ubuntu's openssl package, similarly.

Offline

#3 2014-12-02 20:33:37

RobinJ
Member
From: Belgium, Europe
Registered: 2012-01-05
Posts: 21
Website

Re: Getting "VPN Unlimited" to work

brebs wrote:

For curl, you probably want the 03_keep_symbols_compat.patch from Ubuntu's curl:

-CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@4
+CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@3

Check out Ubuntu's openssl package, similarly.

So should I just download that and replace my version of libcurl with the one in the Ubuntu package? Sounds like that'd be overwritten with the next update anyway.

Offline

#4 2014-12-02 20:51:04

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Getting "VPN Unlimited" to work

Put it in e.g. /opt/vpn/, and use LD_LIBRARY_PATH to give it priority.

Offline

#5 2014-12-06 13:05:28

RobinJ
Member
From: Belgium, Europe
Registered: 2012-01-05
Posts: 21
Website

Re: Getting "VPN Unlimited" to work

brebs wrote:

Put it in e.g. /opt/vpn/, and use LD_LIBRARY_PATH to give it priority.

Thanks. That seems to have fixed that problem (I needed this package), but it doesn't appear to be the only problem.

So I assume I need lib32-rtmpdump. It's in the AUR, but it doesn't build.

[robin@pingu ~]$ yaourt -S lib32-rtmpdump

==> Downloading lib32-rtmpdump PKGBUILD from AUR...
x .AURINFO
x PKGBUILD
Comment by GordonGR  (2014-10-28 10:41)
Thank you, but no. I just follow the changes made to extra/rtmpdump, which download from git as well. For this reason I recommend you delete your package aur/lib32-rtmpdump-stable as well, since this is the stable package.

lib32-rtmpdump 20140918-1  (Thu 26 Jan 03:14:55 CET 2012)
( Unsupported package: Potentially dangerous ! )
==> lib32-rtmpdump dependencies:
 - lib32-openssl (already installed)
 - rtmpdump (already installed)
 - git (already installed)


==> Continue building lib32-rtmpdump ? [Y/n]
==> ----------------------------------------
==> 
==> Building and installing package
==> Making package: lib32-rtmpdump 20140918-1 (Sat  6 Dec 14:01:26 CET 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning rtmpdump git repo...
Cloning into bare repository '/tmp/yaourt-tmp-robin/aur-lib32-rtmpdump/rtmpdump'...
remote: Counting objects: 2553, done.
remote: Compressing objects: 100% (914/914), done.
remote: Total 2553 (delta 1926), reused 2149 (delta 1638)
Receiving objects: 100% (2553/2553), 800.50 KiB | 252.00 KiB/s, done.
Resolving deltas: 100% (1926/1926), done.
Checking connectivity... done.
==> Validating source files with md5sums...
    rtmpdump ... Skipped
==> Extracting sources...
  -> Creating working copy of rtmpdump git repo...
Cloning into 'rtmpdump'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting build()...
make[1]: Entering directory '/tmp/yaourt-tmp-robin/aur-lib32-rtmpdump/src/rtmpdump/librtmp'
gcc -m32 -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -D_FORTIFY_SOURCE=2  -c -o rtmp.o rtmp.c
rtmp.c: In function ‘RTMP_ReadPacket’:
rtmp.c:3552:7: warning: variable ‘didAlloc’ set but not used [-Wunused-but-set-variable]
   int didAlloc = FALSE;
       ^
gcc -m32 -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -D_FORTIFY_SOURCE=2  -c -o log.o log.c
gcc -m32 -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -D_FORTIFY_SOURCE=2  -c -o amf.o amf.c
gcc -m32 -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -D_FORTIFY_SOURCE=2  -c -o hashswf.o hashswf.c
gcc -m32 -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -D_FORTIFY_SOURCE=2  -c -o parseurl.o parseurl.c
ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
ar: creating librtmp.a
gcc -m32 -shared -Wl,-soname,librtmp.so.1 -Wl,-O1,--sort-common,--as-needed,-z,relro -o librtmp.so.1 rtmp.o log.o amf.o hashswf.o parseurl.o  -lssl -lcrypto -lz 
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /lib/../lib/libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for -lssl
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libcrypto.so when searching for -lcrypto
/usr/bin/ld: skipping incompatible /lib/../lib/libcrypto.so when searching for -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libcrypto.so when searching for -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libcrypto.so when searching for -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.so when searching for -lcrypto
/usr/bin/ld: cannot find -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /lib/../lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /lib/../lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /lib/../lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /lib/../lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /lib/../lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /lib/../lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
Makefile:92: recipe for target 'librtmp.so.1' failed
make[1]: *** [librtmp.so.1] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-robin/aur-lib32-rtmpdump/src/rtmpdump/librtmp'
Makefile:76: recipe for target 'librtmp/librtmp.a' failed
make: *** [librtmp/librtmp.a] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build lib32-rtmpdump.
==> Restart building lib32-rtmpdump ? [y/N]
==> ---------------------------------------

Last edited by RobinJ (2014-12-06 13:06:55)

Offline

#6 2014-12-06 17:52:19

TE
Member
Registered: 2014-06-21
Posts: 78

Re: Getting "VPN Unlimited" to work

I'm not sure where you were going with lib32-rtmpdump on a 64bit package - but you were looking for 'libcurl-compat' in AUR to solve your problem. I whipped up an AUR package of vpn-unlimited for you based on this:

https://aur.archlinux.org/packages/vpn-unlimited/

Note that I wrote a wrapper script to force the use of libcurl.so.3 called vpnu-arch which should be used instead -- the desktop file was altered to run this. Give it a shot, see how it works out for you. My PKGBUILD is stored in github if you want to see the tomfoolery:

https://github.com/troyengel/archbuild/ … d/PKGBUILD

it was a fun exercise for the morning -- please note I don't use this service at all, so could only confirm that the app would launch and present a dialog to log me in (then stopped). You'll need to debug further, I'll never use this app (so I'm happy to disown the AUR package and transfer over to you if you want).

Offline

#7 2014-12-10 15:08:00

RobinJ
Member
From: Belgium, Europe
Registered: 2012-01-05
Posts: 21
Website

Re: Getting "VPN Unlimited" to work

TE wrote:

I'm not sure where you were going with lib32-rtmpdump on a 64bit package - but you were looking for 'libcurl-compat' in AUR to solve your problem. I whipped up an AUR package of vpn-unlimited for you based on this:

https://aur.archlinux.org/packages/vpn-unlimited/

Note that I wrote a wrapper script to force the use of libcurl.so.3 called vpnu-arch which should be used instead -- the desktop file was altered to run this. Give it a shot, see how it works out for you. My PKGBUILD is stored in github if you want to see the tomfoolery:

https://github.com/troyengel/archbuild/ … d/PKGBUILD

it was a fun exercise for the morning -- please note I don't use this service at all, so could only confirm that the app would launch and present a dialog to log me in (then stopped). You'll need to debug further, I'll never use this app (so I'm happy to disown the AUR package and transfer over to you if you want).

Thanks! It runs, but it can't actually connect to a server smile

LTpqitE.png

It looks like it thinks the vpn-unlimited daemon is not running. It is running, but it prints a warning in the terminal.

Last edited by RobinJ (2014-12-10 15:09:59)

Offline

#8 2014-12-10 16:33:04

TE
Member
Registered: 2014-06-21
Posts: 78

Re: Getting "VPN Unlimited" to work

RobinJ wrote:

It looks like it thinks the vpn-unlimited daemon is not running. It is running, but it prints a warning in the terminal.

OK, good to know -- I'm at work right now so can't address this properly, but in the PKGBUILD I saved their traditional sysvinit script to /usr/share/doc/vpn-unlimited/. The proper course of action is to convert it to a .service file for systemd, I"ll see if I can tackle that later -- but if you install the "systemd-sysvcompat" sub-package of systemd, it should let you use their existing init script (just copy it over). Or you could just read that init script and manually run that daemon by hand for now as root... It wasn't clear from upstream that this daemon had to be running, but now that you've discovered it we'll fix the package to support it properly.

Offline

#9 2014-12-11 01:19:43

TE
Member
Registered: 2014-06-21
Posts: 78

Re: Getting "VPN Unlimited" to work

New package uploaded for you, the systemd unit was trivial to create -- the daemon is pretty basic for how it starts. Look for 2.4.0-2 package now.

If needed, when it starts it writes the port it's listening on to /var/run/vpn_unlimited_service and embedded in the binary is a PID file of /var/run/vpn-unlimited-daemon.pid, however that PID is not created by the app (and not systemd by design), so let me know if it's somehow needed and we can add a systemd hook to write that PID file manually.

Offline

#10 2014-12-21 17:47:49

adb
Member
Registered: 2013-12-29
Posts: 6

Re: Getting "VPN Unlimited" to work

Hey TE, thank you for your PKGBUILD, very useful.
After the daemon starts though, the application still doesn't connect to the server and spits out "Error while connecting" just like on RobinJs' screenshot. There is no other way to debug the issue, since the server starts absolutely fine, apart from a couple of lib warnings, but nothing major. Any ideas? :3

Offline

#11 2014-12-21 19:15:25

TE
Member
Registered: 2014-06-21
Posts: 78

Re: Getting "VPN Unlimited" to work

adb wrote:

Hey TE, thank you for your PKGBUILD, very useful.
After the daemon starts though, the application still doesn't connect to the server and spits out "Error while connecting" just like on RobinJs' screenshot. There is no other way to debug the issue, since the server starts absolutely fine, apart from a couple of lib warnings, but nothing major. Any ideas? :3

I'm afraid not, this is not something I use. Personally I would never use a VPN solution that did not include the source for examination, so have no real interest in actually debugging it. Have you considered supporting the Riseup VPN collective or some other open VPN initiative instead of trying to use a vendor with proprietary binaries? Even a vendor which allowed you to use OpenVPN or OpenConnect would be better... $0.02 just my opinion of course.

Offline

#12 2014-12-21 20:07:26

adb
Member
Registered: 2013-12-29
Posts: 6

Re: Getting "VPN Unlimited" to work

Yeah, I agree with you on that. I managed to get a cheap deal for their 3 year subscription, and I only need to use one country conneciton. But thank you for the link, I will look into it as a long term solution.

Offline

#13 2015-01-17 17:44:08

murphy42
Member
Registered: 2015-01-17
Posts: 1

Re: Getting "VPN Unlimited" to work

OK, old thread but shows up on google with high ranking while i was looking for a solution to the same problem.

My way out was: contact support and they send you a bunch of openvpn config files for each location, so it was really simple to get it up and running.

So for me ist a cheap and simple solution until now ...

Offline

#14 2015-09-19 17:16:32

RobinJ
Member
From: Belgium, Europe
Registered: 2012-01-05
Posts: 21
Website

Re: Getting "VPN Unlimited" to work

murphy42 wrote:

OK, old thread but shows up on google with high ranking while i was looking for a solution to the same problem.

My way out was: contact support and they send you a bunch of openvpn config files for each location, so it was really simple to get it up and running.

So for me ist a cheap and simple solution until now ...

Well, that's the first thing I did. But they refused to give me any connection details for the underlying OpenVPN system...
Any chance you could pass those files on?

Offline

#15 2017-07-24 14:38:00

aytekinar
Member
From: Stockholm
Registered: 2013-12-19
Posts: 25

Re: Getting "VPN Unlimited" to work

I am not sure if this thread is still valid, but I have created an AUR package for VPN Unlimited.

Offline

#16 2017-07-24 14:44:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Getting "VPN Unlimited" to work


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB