[Pkg-clamav-devel] Bug#828083: bind9: clamav with openssl 1.1: Doesn't find openssl

Kurt Roeckx kurt at roeckx.be
Fri Jun 24 19:20:07 UTC 2016


Source: clamav
Version: 0.99.2+dfsg-2
Severity: important
Control: block 827061 by -1

Hi,

Your package is FTBFS with openssl 1.1:
checking for OpenSSL installation... /usr
checking for SSL_library_init in -lssl... no
configure: error: Your OpenSSL installation is misconfigured or missing
[...]
onfigure:17911: Compiling and linking with libxml2 from /usr
configure:17937: checking for OpenSSL installation
configure:17955: result: /usr
configure:17985: checking for SSL_library_init in -lssl
configure:18010: gcc -o conftest -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c -lssl -lcrypto -lz  >&5
/tmp/ccZwB9kv.o: In function `main':
/<<BUILDDIR>>/clamav-0.99.2+dfsg/conftest.c:124: undefined reference to `SSL_library_init'
collect2: error: ld returned 1 exit status
configure:18010: $? = 1
configure: failed program was:
[...]
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char SSL_library_init ();
| int
| main ()
| {
| return SSL_library_init ();
|   ;
|   return 0;
| }
configure:18019: result: no
configure:18024: error: Your OpenSSL installation is misconfigured or missing

>From the current manpage:
 The SSL_library_init() and OpenSSL_add_ssl_algorithms() functions
 were deprecated in OpenSSL 1.1.0 by OPENSSL_init_ssl().

There is a compatibity define in ssl.h:
# define SSL_library_init() OPENSSL_init_ssl(0, NULL)


Kurt



More information about the Pkg-clamav-devel mailing list