Hello

Has anyone been able to compile Postfix 3.8 on Solaris 11.4 using GCC, current "gcc version 12.2.0 (GCC)", with TLS support?

Attempting to compile with the follow settings, with OpenSSL 3.0.8 (Library: OpenSSL 3.0.8 7 Feb 2023):
make makefiles \
        CC="/usr/bin/gcc" \
        CCARGS="-m64 -DHAS_DB -DNO_NIS -DUSE_TLS -I/usr/openssl/3/include" \         AUXLIBS="-R/usr/openssl/3/lib -L/usr/openssl/3/lib -ldb -lssl -lcrypto" \
        openssl_path="/usr/openssl/3/bin/openssl"

Getting the following compilation errors:
=========================================================================
Undefined                       first referenced
 symbol                             in file
SSL_in_init ../../lib/libtls.a(tls_session.o)
OPENSSL_sk_pop_free ../../lib/libtls.a(tls_certkey.o)
SSL_CTX_set_options ../../lib/libtls.a(tls_server.o)
SSL_CTX_get_options ../../lib/libtls.a(tls_server.o)
OSSL_DECODER_from_data              ../../lib/libtls.a(tls_dh.o)
SSL_CTX_set0_tmp_dh_pkey            ../../lib/libtls.a(tls_dh.o)
OpenSSL_version                     ../../lib/libtls.a(tls_misc.o)
OPENSSL_INIT_new                    ../../lib/libtls.a(tls_misc.o)
X509_STORE_up_ref ../../lib/libtls.a(tls_server.o)
OSSL_PARAM_construct_end ../../lib/libtls.a(tls_server.o)
OPENSSL_sk_num ../../lib/libtls.a(tls_server.o)
OSSL_DECODER_CTX_free               ../../lib/libtls.a(tls_dh.o)
EVP_CIPHER_get_mode ../../lib/libtls.a(tls_server.o)
EVP_CIPHER_get_iv_length ../../lib/libtls.a(tls_server.o)
EVP_PKEY_get_id                     ../../lib/libtls.a(tls_misc.o)
EVP_MD_CTX_new ../../lib/libtls.a(tls_fprint.o)
OPENSSL_sk_push ../../lib/libtls.a(tls_certkey.o)
OSSL_PARAM_construct_octet_string ../../lib/libtls.a(tls_server.o)
EVP_PKEY_get_group_name             ../../lib/libtls.a(tls_misc.o)
SSL_set_security_level ../../lib/libtls.a(tls_server.o)
EVP_CIPHER_fetch ../../lib/libtls.a(tls_server.o)
OSSL_PARAM_construct_utf8_string ../../lib/libtls.a(tls_server.o)
X509_get_X509_PUBKEY ../../lib/libtls.a(tls_fprint.o)
TLS_method                          ../../lib/libtls.a(tls_dh.o)
SSL_get0_peername ../../lib/libtls.a(tls_verify.o)
SSL_get0_peer_certificate           ../../lib/libtls.a(tls_misc.o)
X509_up_ref ../../lib/libtls.a(tls_verify.o)
OPENSSL_INIT_set_config_filename    ../../lib/libtls.a(tls_misc.o)
OPENSSL_INIT_free                   ../../lib/libtls.a(tls_misc.o)
ERR_get_error_all                   ../../lib/libtls.a(tls_misc.o)
EVP_PKEY_get_bits                   ../../lib/libtls.a(tls_misc.o)
SSL_CTX_set_num_tickets ../../lib/libtls.a(tls_server.o)
OpenSSL_version_num                 ../../lib/libtls.a(tls_misc.o)
OPENSSL_init_ssl                    ../../lib/libtls.a(tls_misc.o)
BIO_set_callback_ex ../../lib/libtls.a(tls_server.o)
EVP_CIPHER_get_key_length ../../lib/libtls.a(tls_server.o)
X509_get0_pubkey                    ../../lib/libtls.a(tls_misc.o)
SSL_CTX_clear_options ../../lib/libtls.a(tls_server.o)
EVP_MD_get_size ../../lib/libtls.a(tls_fprint.o)
OPENSSL_sk_new_null ../../lib/libtls.a(tls_certkey.o)
EVP_PKEY_dup                        ../../lib/libtls.a(tls_dh.o)
OSSL_DECODER_CTX_new_for_pkey       ../../lib/libtls.a(tls_dh.o)
EVP_MAC_CTX_set_params ../../lib/libtls.a(tls_server.o)
SSL_use_cert_and_key ../../lib/libtls.a(tls_certkey.o)
SSL_CTX_set_security_level ../../lib/libtls.a(tls_server.o)
OSSL_DECODER_from_fp                ../../lib/libtls.a(tls_dh.o)
TLS_server_method ../../lib/libtls.a(tls_server.o)
SSL_CTX_set_tlsext_ticket_key_evp_cb ../../lib/libtls.a(tls_server.o)
OPENSSL_INIT_set_config_file_flags  ../../lib/libtls.a(tls_misc.o)
OPENSSL_INIT_set_config_appname     ../../lib/libtls.a(tls_misc.o)
EVP_MD_CTX_free ../../lib/libtls.a(tls_fprint.o)
SSL_session_reused ../../lib/libtls.a(tls_server.o)
SSL_CTX_use_cert_and_key ../../lib/libtls.a(tls_certkey.o)
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `smtpd'
Current working directory /usr/local/src/postfix-3.8.2/src/smtpd
*** Error code 1
make: Fatal error: Command failed for target `update'
=========================================================================

Any help appreciated.

Regards

--
---
Jaco Lesch
SAIX HLS
Emai:ja...@saix.net
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to