I'm trying to configure libircclient with OpenSSL but fails. Using MinGW msys:
X@X-PC /c/deps/libircclient
$ ./configure -enable-openssl
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
.......................etc etc
checking for CRYPTO_new_ex_data in -lcrypto... no
configure: error: OpenSSL not found
I have added those lines also but fails:
CPPFLAGS="-I/c/deps/openssl-1.0.1l/include
LDFLAGS="-L/c/deps/openssl-1.0.1l
And it results in:
checking For MinGW32... no
checking for CRYPTO_new_ex_data in -lcrypto... yes
checking for SSL_library_init in -lssl... no
configure: error: OpenSSL not found
so -lcrypto
is ok, but -lssl
... no
What is the problem and the solution ?
OpenSSL built from source using:
cd /c/deps/
tar xvfz openssl-1.0.1l.tar.gz
cd openssl-1.0.1l
./Configure no-zlib no-shared no-dso no-krb5 no-camellia no-capieng no-cast no-cms \
no-dtls1 no-gost no-gmp no-heartbeats no-idea no-jpake no-md2 no-mdc2 no-rc5 \
no-rdrand no-rfc3779 no-rsax no-sctp no-seed no-sha0 no-static_engine no-whirlpool \
no-rc2 no-rc4 no-ssl2 no-ssl3 mingw64
make