On Mon, Jul 10, 2017 at 10:52:14PM +1000, Gary R. Schmidt wrote: > On 10/07/2017 21:03, Wanderlei Huttel wrote: >> >> Good Morning >> >> First of all, thanks and congratulations for the new release Kern! >> >> In this weekend I received some messages from friends of our brazilian >> group in telegram that tried to compile Bacula 9 in Debian 9 stretch and >> didn't work. >> > [SNIP] >> >> tls.c: In function 'bool tls_postconnect_verify_host(JCR*, >> TLS_CONNECTION*, const char*)': >> tls.c:351:33: error: invalid use of incomplete type 'X509_EXTENSION {aka >> struct X509_extension_st}' >> ext_value_data = ext->value->data; >> ^~ >> In file included from /usr/include/openssl/ssl.h:50:0, >> from ../bacula.h:147, >> from tls.c:40: >> /usr/include/openssl/x509.h:79:16: note: forward declaration of >> 'X509_EXTENSION {aka struct X509_extension_st}' >> typedef struct X509_extension_st X509_EXTENSION; >> ^~~~~~~~~~~~~~~~~ > > > I've seen these errors before, OpenSSL 1.1.0 has been installed, which > requires a re-write of anything that uses it. > > OpenSSL 1.0.2 is what should be used, as it is the LTS release, and, in fact > will be supported for *longer* than the 1.1.0 release: > - Version 1.1.0 will be supported until 2018-08-31. > - Version 1.0.2 will be supported until 2019-12-31 (LTS). > > Is a downgrade possible on Debian? >
OpenSSL version 1.0.2l is available in Debian 9 "Stretch" as "libssl1.0" or "libssl1.0-dev" package. According to https://wiki.debian.org/OpenSSL-1.1 both OpenSSL 1.0 and OpenSSL 1.1 can be installed on a Debian system. Misha. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel