I have been running an older OpenVPN for some time but it was built against the old openssl that came with CentOS 5.
Some time ago I had built openssl 1.1 and installed it under /usr/local/lib so it wouldn't interfere with the system version but I could build new packages against it.
I recently upgraded my openVPN client and it started warning me about deprecated features in my old OpenVPN server so I started to look at upgrading it. I ran into various issues along the way that I won't go into in a lot of detail but the build method that worked for me in the end was this:
Unpacked the tgz file and cd into the directory.
Code: Select all
CFLAGS="-I/usr/local/include -Wl,-rpath=/usr/local/lib -L/usr/local/lib -std=gnu99" ./configure --disable-lzo --disable-plugin-auth-pam
make
make install