Manual install OpenVPN 2.5.0 - error openssl version too old

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
hashtag
OpenVpn Newbie
Posts: 7
Joined: Wed Oct 21, 2020 9:46 pm

Manual install OpenVPN 2.5.0 - error openssl version too old

Post by hashtag » Tue Nov 03, 2020 3:45 am

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?

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Tue Nov 03, 2020 3:51 am

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

hashtag
OpenVpn Newbie
Posts: 7
Joined: Wed Oct 21, 2020 9:46 pm

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

Post by hashtag » Tue Nov 03, 2020 4:00 am

Thanks, I am relatively new to this, although I was successful in setting up and configuring OpenVPN 2.4.9.

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Tue Nov 03, 2020 4:18 am

Did you read INSTALL dot <something or other> ?

hashtag
OpenVpn Newbie
Posts: 7
Joined: Wed Oct 21, 2020 9:46 pm

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

Post by hashtag » Tue Nov 10, 2020 3:44 am

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'

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Tue Nov 10, 2020 3:55 am

You need the build system:
https://github.com/OpenVPN/openvpn-build

Post Reply