From 6522028465203be85015f8e317911438f8d43f38 Mon Sep 17 00:00:00 2001 From: Seiichi Yoshimune <76471533+seiichi-yoshimune@users.noreply.github.com> Date: Wed, 27 Jan 2021 19:47:02 +0100 Subject: [PATCH] won't configure with recent version of OpenSSL deprecated SSL_library_init add `-DOPENSSL_API_COMPAT=0x10000000L` I also removed the if conditional on the configure but I think it should compile with this `CFLAGS` --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c2e8aeb..f0fa92e 100755 --- a/README.md +++ b/README.md @@ -71,6 +71,10 @@ If you installed OpenSSL in a non-standard path, use the following command examp env CPPFLAGS=-I/usr/local/opt/openssl/include \ LDFLAGS=-L/usr/local/opt/openssl/lib ./configure +If you installed a recent version (=>1.1.0) OpenSSL configure will complain about SSL_library_init which is deprecared, use this: + + env CPPFLAGS="-DOPENSSL_API_COMPAT=0x10000000L" + Use `./configure --help` in order to display more options. ##### 4. Compile source code: