Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2018 13:57:28 +0300
From:      David Gessel <gessel@blackrosetech.com>
To:        Bernard Spil <brnrd@freebsd.org>, apache@FreeBSD.org
Subject:   FreeBSD Port: www/apache24 + LibreSSL 2.7.2 = Undefined symbol "OPENSSL_malloc_init" error, fail
Message-ID:  <0f9bf20e-a1cf-7e20-3215-4940b20c486e@blackrosetech.com>

next in thread | raw e-mail | index | archive | help
Note: Filed at https://bz.apache.org/bugzilla/show_bug.cgi?id=62346

Apache24 seems to have some issues with LibreSSL 2.7+  that are not resolved by the patch.  On my machine, at least, I get:

Apache24 will not start:
httpd: Syntax error on line 130 of /usr/local/etc/apache24/httpd.conf: Cannot load libexec/apache24/mod_ssl.so into server: /usr/local/libexec/apache24/mod_ssl.so: Undefined symbol "OPENSSL_malloc_init"

The following innocuous seeming error reported during the build seems relevant

--- mod_ssl.slo ---
mod_ssl.c:404:5: warning: implicit declaration of function 'OPENSSL_malloc_init' is invalid in C99 [-Wimplicit-function-declaration]
    OPENSSL_malloc_init();


mod_ssl.c: +/- 405:
    /* We must register the library in full, to ensure our configuration
     * code can successfully test the SSL environment.
     */
#if MODSSL_USE_OPENSSL_PRE_1_1_API
    (void)CRYPTO_malloc_init();
#else
    OPENSSL_malloc_init();
#endif
    ERR_load_crypto_strings();
    SSL_load_error_strings();
    SSL_library_init();
#if HAVE_ENGINE_LOAD_BUILTIN_ENGINES
    ENGINE_load_builtin_engines();
#endif
    OpenSSL_add_all_algorithms();
    OPENSSL_load_builtin_modules();


apache24-2.4.33 
libressl-2.7.2_1
FreeBSD 10.3-RELEASE-p28 #0 r330946




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0f9bf20e-a1cf-7e20-3215-4940b20c486e>