Hello,

I'm hoping this is the correct place to ask this question. If not,
please redirect me to the correct place :pray:

I'm trying to compile OpenVPN against OpenSSL 1.1.1x, for use on a CentOS 7 OS.
CentOS 7 OS is using OpenSSL 1.0.2 as native.
Since the server has other tasks dependent on OpenSSL 1.0.2, I can't
just replace the default OpenSSL with 1.1.1x.
However, there's a build for OpenSSL 1.1.1x for this specific OS,
which is accomplished by installing the new OpenSSL, binaries, libs
and friends, on a separate set of directories. Quite a common approach
I guess.

So, basically I have 2 versions of OpenSSL on the host.
Now for other binaries, I'm usually using some sort of switch provided
by automake (or similar), like --with-openssl=, but apparently OpenVPN
does not possess such a switch.
I've tried googling and tried some CC, LD_FLAGS and friends to no avail :(

Can someone please lend a hand on how it can be compiled against the
non-default OpenSSL version?
Here's where the libraries are actually located:
/usr/lib64/.libssl.so.1.1.hmac
/usr/lib64/engines-1.1/capi.so
/usr/lib64/libcrypto.so.1.1.0j
/usr/lib64/libssl.so.1.1

Thank you in advance,
-- 
Rui Santos
Veni, Vidi, Linux


_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to