Unable to install openvpn-2.3.6 on Ubuntu 14.04 LTS to work work with TUN/TAP

Posted on Dec 25, 2022

Question

I'm trying to install openvpn-2.3.6 on Ubuntu 14.04 LTS to work with TUN/TAP.

I have downloaded the package from: http://swupdate.openvpn.org/community/releases/openvpn-2.3.6.tar.gz

extracted it and try to install it using command line terminal.

but the following error apperared:

"configure: error: ssl is required but missing"

How can I solve this problem to complete openvpn-2.3.6 installation?

I'm following the instructions in the following link: http://backreference.org/2010/03/26/tuntap-interface-tutorial/

which uses the openvpn tool to configure the virtual tun interface.

Can I make tunnels and configure tun interface without the assestance of openvpn or any other tool.

do any one have simple example for using tun on ubuntu?

Answer

For the error "configure: error: ssl is required but missing"

You will need to install libssl-dev.

sudo apt-get install libssl-dev

For the error "configure: error: lzo enabled but missing"

sudo apt-get install liblzo2-dev

For the error "configure: error: libpam required but missing "

sudo apt-get install libpam0g-dev