The configure code checking for the newly required openssl library is broken.
[...] configure:16590: checking for OpenSSL installation configure:16632: checking for SSL_library_init in -lssl configure:16657: gcc -o conftest -I/tmp/ssl/ssl/include -L/tmp/ssl/ssl/lib -lss l -lcrypto conftest.c -lssl -lnsl -lsocket >&5 Undefined first referenced symbol in file ERR_clear_error /tmp/ssl/ssl/lib/libssl.a(ssl_cert.o) SHA512_Transform /tmp/ssl/ssl/lib/libssl.a(s3_cbc.o) [many more deleted] The reason for the failure is the second instance of -lssl, which just like the first instance requires augmentation with -lcrypto. Checking where it comes from, I figured that the following patch to m4/reorganization/libs/openssl.m4 works around the failure, but I haven't the time to rewrite the test properly. --%<-- --- openssl.m4.dist 2014-05-06 19:39:56.000000000 +0100 +++ openssl.m4 2014-05-08 15:23:22.520238757 +0100 @@ -35,7 +35,7 @@ have_ssl="no" have_crypto="no" -AC_CHECK_LIB([ssl], [SSL_library_init], [have_ssl="yes"], [AC_MSG_ERROR([Your OpenSSL installation is misconfigured or missing])]) +AC_CHECK_LIB([ssl], [SSL_library_init], [have_ssl="yes"], [AC_MSG_ERROR([Your OpenSSL installation is misconfigured or missing])],[-lcrypto]) AC_CHECK_LIB([crypto], [EVP_EncryptInit], [have_crypto="yes"], [AC_MSG_ERROR([Your OpenSSL installation is misconfigured or missing])]) --%<-- This is most likely not a problem on newer platforms with a more intelligent linker. _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml
