Page 1 of 1

Manual install OpenVPN 2.5.0 - error openssl version too old

Posted: Tue Nov 03, 2020 3:45 am
by hashtag

Code: Select all

wget https://swupdate.openvpn.org/community/releases/openvpn-2.5.0.tar.gz
tar -zxf openvpn-<version>.tar.gz
cd openvpn-<version>
./configure
make
make install
I am attempting to manually install OpenVPN 2.5.0 on a Raspberry Pi by following the procedure above but receive the following error when executing ./configure. The Raspberry Pi currently has version 2.4.9 installed.

Code: Select all

checking additionally if OpenSSL is available and version >= 1.0.2... configure: error: OpenSSL version too old
Output of openssl version is

Code: Select all

OpenSSL 1.1.1d  10 Sep 2019
Why is this process erroring out when the OpenSSL version installed should not be problematic?

Re: Manual install OpenVPN 2.5.0 - error openssl version too old

Posted: Tue Nov 03, 2020 3:51 am
by TinCanTech
hashtag wrote:
Tue Nov 03, 2020 3:45 am
I am attempting to manually install OpenVPN 2.5.0 on a Raspberry Pi
You are attempting to compile openvpn

Re: Manual install OpenVPN 2.5.0 - error openssl version too old

Posted: Tue Nov 03, 2020 4:00 am
by hashtag
Thanks, I am relatively new to this, although I was successful in setting up and configuring OpenVPN 2.4.9.

Re: Manual install OpenVPN 2.5.0 - error openssl version too old

Posted: Tue Nov 03, 2020 4:18 am
by TinCanTech
Did you read INSTALL dot <something or other> ?

Re: Manual install OpenVPN 2.5.0 - error openssl version too old

Posted: Tue Nov 10, 2020 3:44 am
by hashtag
Yes, although admittedly I am working through this somewhat haphazardly as there are many parts of this that are brand new to me.

I was able to successfully complete all of the steps identified in the first post after installing the following packages:

Code: Select all

apt install libssl-dev liblzo2-dev libpam0g-dev
I am lost now though as to where any resulting files ended up and how to start it. When I reboot, my OpenVPN logs still show version 2.4.7 (my mistake in the original post, my current version is not 2.4.9).

The reason I am attempting to manually compile version 2.5.0 is because I receive the following error when running apt update indicating that ARM is not supported.

Code: Select all

N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://build.openvpn.net/debian/openvpn/stable buster InRelease' doesn't support architecture 'armhf'

Re: Manual install OpenVPN 2.5.0 - error openssl version too old

Posted: Tue Nov 10, 2020 3:55 am
by TinCanTech
You need the build system:
https://github.com/OpenVPN/openvpn-build