VPN installation - libgnutls26 & Libnettle problems

Asked by Brutal_Moose

 Hello, my ultimate goal is to install the VPN program “Private Internet Access” on Ubuntu 15.04 desktop. While attempting to install this program, I received the error:

TideSDK
Couldn't load file:home/<USERNAME>/.pia_manager/pia_tray.64/runtime/1.3.2-beta/libtide.so, error: libgnutls.so.26: cannot open shared object file: No such file or directory

 I downloaded a package called “ libgnutls26 “. But that package had an error that said it also required another package: “ Libnettle 2.1 was not found “. After attempting to install Libnettle 2.1 (and also 3.1), it said there was a problem, but I cannot understand what it is asking me to do.

The output it gives me is this:

<COMPUTERNAME>:~/nettle-2.1$ sudo make
make all-here
make[1]: Entering directory '/home/<USER>/nettle-2.1'
m4 ./asm.m4 machine.m4 config.m4 \
 aes-decrypt-internal.asm >aes-decrypt-internal.s
/bin/sh: 1: m4: not found
Makefile:201: recipe for target 'aes-decrypt-internal.o' failed
make[1]: *** [aes-decrypt-internal.o] Error 127
make[1]: Leaving directory '/home/<USER>/nettle-2.1'
Makefile:32: recipe for target 'all' failed
make: *** [all] Error 2

 I am a new Linux user. When offering a solution to this issue, please list every single step it will take. Please do not assume I have the knowledge or experience required to make decisions or choices for myself when implementing solutions. Thank you.

 How do I move forward with this installation?

        I understand that the team that makes Ubuntu is not responsible for the software that is made for it, and that the teams that make Linux software are not responsible for the Linux OS. However, I wanted to comment that my Linux user experiences have been that of a swiss-cheese of missing packages and band-aid code-fixes. I am blaming neither the Linux OS teams, nor the software program teams separately. Why have these ubiquitous messes been historically acceptable by the community?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

It's not. It works just fine. If you start adding 3rd party stuff that clearly hasn't been tested or made to work with Ubuntu then how is this the fault of Ubuntu?? Think about it....

If you install a programme in a perfectly fine Windows install and that program misbehaves but everything else is fine, which bit is at fault?

Is this really how you think?

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

Please open a terminal window (e.g. by simultaneously pressing ctrl-alt-t) and issue the following commands

uname -a
lsb_release -crid
apt-cache policy libgnutls26 libgnutls-dev libnettle.*

Then use the terminal window's menu entries "edit - select all" and "edit - copy" to copy all output and finally paste everything into the message: box of this question document that we can see it.

Revision history for this message
Brutal_Moose (brutalmoose) said :
#3

<computername>:~$ uname -a
<computername> 3.19.0-18-generic #18-Ubuntu SMP Tue May 19 18:31:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
<computername>:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
<computername>:~$ apt-cache policy libgnutls26 libgnutls-dev libnettle.*
libgnutls26:i386:
  Installed: (none)
  Candidate: (none)
  Version table:
     2.12.23-12ubuntu2.2 0
        100 /var/lib/dpkg/status
libgnutls-dev:
  Installed: (none)
  Candidate: 3.3.8-3ubuntu3
  Version table:
     3.3.8-3ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
libnettle-dev:
  Installed: (none)
  Candidate: (none)
  Version table:
libnettle4:
  Installed: 2.7.1-5
  Candidate: 2.7.1-5
  Version table:
 *** 2.7.1-5 0
        500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

It seems to me that the program that you try to install is not compatible with Ubuntu 15.04
Have you asked at the source where you got that program, whether (and how) it can be installed on Ubuntu 15.04?

What is that program supposed to do? Maybe some standard Ubuntu packages (like openvpn) do the same and can be installed without problems?

Revision history for this message
Brutal_Moose (brutalmoose) said :
#5

After attempting to install Libnettle 2.1 (and also 3.1), it said there was a problem, but I cannot understand what it is asking me to do.

The output it gives me is this:

<COMPUTERNAME>:~/nettle-2.1$ sudo make
make all-here
make[1]: Entering directory '/home/<USER>/nettle-2.1'
m4 ./asm.m4 machine.m4 config.m4 \
 aes-decrypt-internal.asm >aes-decrypt-internal.s
/bin/sh: 1: m4: not found
Makefile:201: recipe for target 'aes-decrypt-internal.o' failed
make[1]: *** [aes-decrypt-internal.o] Error 127
make[1]: Leaving directory '/home/<USER>/nettle-2.1'
Makefile:32: recipe for target 'all' failed
make: *** [all] Error 2

the Linux world is full of missing information and missing instructions. No wonder desktop Linux has not captured any more of its market in the last 10 years.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#6

It is not the Linux world that is missing instructions, it is that foreign package “Private Internet Access” that apparently does not provide information if and how it can be installed on Ubuntu 15.04

The error message "/bin/sh: 1: m4: not found" indicates tha you do not have the m4 macro processor installed on your system.
You should be able to install it with software-center or the terminal command "sudo apt-get install m4"

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#7

The problem here is that the people responsible for keeping the following page up-to-date

https://www.privateinternetaccess.com/pages/client-support/#ubuntu_openvpn_installer

only updated the procedure for Ubuntu 12.04 LTS. They did not update the instructions for any higher Ubuntu

version than version 12.04 LTS. Even their install procedure for Ubuntu 12.04 LTS is not detailed enough, in my humble opinion.

So any attempt to install the Private Internet Access software on higher Ubuntu versions is not even supported or described by the software supplier.

The Ubuntu community is definitely NOT responsible for fixing the documentation holes left by the original software supplier!

Any advice we give is best effort, as we are not the software supplier who developed the Private Internet Access software.

Anyway, here is my proposed installation procedure, which might work in Ubuntu 15.04.

Please run the following 7 commands in a Terminal using a working, WIRED Internet connection:

cd

sudo apt-get update

sudo apt-get install libnettle4 python2.7 m4 gadmin-openvpn-client openvpn network-manager-openvpn wget

sudo apt-get install libgnutls-openssl27 libgnutls-dev

sudo apt-get install libgnutls28-dev

wget --no-check-certificate https://www.privateinternetaccess.com/installer/install_ubuntu.sh

sudo sh install_ubuntu.sh

Then follow these instructions:

https://www.privateinternetaccess.com/pages/client-support/#ubuntu_openvpn_installer

Or you can follow those same Ubuntu OpenVPN instructions, but replace step 4 with the following step:

Choose "import a saved VPN configuration" as your VPN Connection Type, and press Create.

Then choose one of the .ovpn configuration files contained in the following openvpn.zip file:

https://www.privateinternetaccess.com/openvpn/openvpn.zip

Choose the .ovpn file that is closest to your location.

You will also need to manually import the CA certificate file ca.crt from the same openvpn.zip file:

https://www.privateinternetaccess.com/openvpn/openvpn.zip

Source: https://answers.launchpad.net/ubuntu/+question/266262

Revision history for this message
Brutal_Moose (brutalmoose) said :
#8

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Brutal_Moose (brutalmoose) said :
#9

     Hampl, when I ranted about the bugs in the Linux world, I never concretely said that it was the fault of the Linux OS. The Linux OS is merely part of a larger Linux world of software, as well as OS's. I have twice edited my original post to prevent this kind of misunderstanding. After the first edit, I truely believed no further misunderstandings would be read, but that was not the case. Mac OS users usually report a smooth and consistent experience, but I have not had that experience yet with Linux. Installing this VPN software on Ubuntu 14.x took about an hour. Installing it on Ubuntu 15.04 took about 8 hours. That is not normal in the world of computers, and as a new member of the Linux community I do not accept it.

     Hampl, your M4 advice was the last step in solving my VPN issue, thank you.