I installed openssl-1.0.2 with some logging code that added to original version by ./config shared --prefix=/usr
, make
and make install
commands. After that I installed openvpn according to ./configure OPENSSL_SSL_LIBS="-L/usr/ -lssl" OPENSSL_SSL_CFLAGS="-I/usr/include/" OPENSSL_CRYPTO_LIBS="-L/usr/ -lcrypto" OPENSSL_CRYPTO_CFLAGS="-I/usr/include/"
, make
and make install
.
When I make vpn tunnel, I dont see any logs in log system file. I think openvpn is using another OpenSSL. I dont know how to resolve this problem...
--prefix=/usr
- this is probably a bad idea. You should put it in/usr/local
. Otherwise, you will replace the system's version of the library. That usually leads to bad things. – jww Jan 29 '15 at 17:37openvpn --version
say? What is the output ofldd openvpn
? Also see Build OpenVPN with specific OpenSSL version. The cited question came after yours, but it has a thorough answer. It also usesRPATHs
to ensure the expected OpenSSL library is linked at runtime. – jww Aug 19 '16 at 3:13