Hello,
I found out that i am unable to build anything, i cannot even rebuild exim via custombuild.
The Error seems to be related to OpenSSL version, i've manually compiled openssl by myself a few months back.
I Don't remember the full commands but it was something like this;
The codes used are not exact, openssl version was 1.1.1L.
Anyhow, openssl version showed OpenSSL 1.1.1l after this action and everything was ok.
However, i'm trying to rebuild exim but getting the following error;
My best guess is that this problem is occurring because the OpenSSL version has been updated manually whitout DirectAdmin and/or cloudlinux repos.
I'm trying to downgrade the openssl version with;
yum reinstall openssl\*
Does not work. I re-compile it manually to a lower version, does not work.
openssl version
Still shows 1.1.1L
Any suggestions?
At this rate i'm stuck.
Regards
I found out that i am unable to build anything, i cannot even rebuild exim via custombuild.
The Error seems to be related to OpenSSL version, i've manually compiled openssl by myself a few months back.
I Don't remember the full commands but it was something like this;
Code:
cd /usr/local/src
wget --no-check-certificate wget https://imaj.netdirekt.com.tr/howto/repo/openssl-1.0.2l.tar.gz
tar -xvzf openssl-1.0.2l.tar.gz
cd openssl-1.0.2l
./config
make depend
make
make test
make install
mv /usr/bin/openssl /root/
ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
The codes used are not exact, openssl version was 1.1.1L.
Anyhow, openssl version showed OpenSSL 1.1.1l after this action and everything was ok.
However, i'm trying to rebuild exim but getting the following error;
Code:
cc -o exim
hash.o: In function `exim_sha_init':
hash.c:(.text+0x8d): undefined reference to `EVP_sha3_224'
hash.c:(.text+0x95): undefined reference to `EVP_MD_CTX_new'
hash.c:(.text+0xba): undefined reference to `EVP_sha3_256'
hash.c:(.text+0xc2): undefined reference to `EVP_MD_CTX_new'
hash.c:(.text+0xe4): undefined reference to `EVP_sha3_384'
hash.c:(.text+0xec): undefined reference to `EVP_MD_CTX_new'
hash.c:(.text+0x10e): undefined reference to `EVP_sha3_512'
hash.c:(.text+0x116): undefined reference to `EVP_MD_CTX_new'
tls.o: In function `lib_ctx_new':
tls.c:(.text+0x2e2): undefined reference to `TLS_client_method'
tls.c:(.text+0x2f1): undefined reference to `TLS_server_method'
tls.c:(.text+0x33b): undefined reference to `SSL_CTX_set_keylog_callback'
tls.o: In function `init_dh':
tls.c:(.text+0x5b2): undefined reference to `DH_bits'
tls.o: In function `setup_certs':
tls.c:(.text+0xc72): undefined reference to `OPENSSL_sk_pop'
tls.c:(.text+0xc82): undefined reference to `OPENSSL_sk_num'
tls.c:(.text+0xc91): undefined reference to `OPENSSL_sk_new_null'
tls.c:(.text+0xcbb): undefined reference to `OPENSSL_sk_push'
tls.c:(.text+0xd27): undefined reference to `OPENSSL_sk_num'
tls.o: In function `tls_expand_session_files':
tls.c:(.text+0x1052): undefined reference to `X509_getm_notBefore'
tls.c:(.text+0x1067): undefined reference to `X509_getm_notAfter'
tls.o: In function `verify_callback':
tls.c:(.text+0x1f91): undefined reference to `OPENSSL_sk_push'
tls.o: In function `tls_server_stapling_cb':
tls.c:(.text+0x26e1): undefined reference to `X509_get0_serialNumber'
tls.c:(.text+0x2717): undefined reference to `OCSP_SINGLERESP_get0_id'
tls.o: In function `tls_save_session_cb':
tls.c:(.text+0x2931): undefined reference to `SSL_SESSION_is_resumable'
tls.o: In function `tls_servername_cb':
tls.c:(.text+0x2e2d): undefined reference to `SSL_CTX_get_options'
tls.c:(.text+0x2e3c): undefined reference to `SSL_CTX_set_options'
tls.o: In function `tls_close':
tls.c:(.text+0x3c35): undefined reference to `OPENSSL_sk_pop_free'
tls.o: In function `tls_version_report':
tls.c:(.text+0x3fcf): undefined reference to `OpenSSL_version'
tls.c:(.text+0x3fdc): undefined reference to `OpenSSL_version'
tls.o: In function `tls_init':
tls.c:(.text+0x5113): undefined reference to `SSL_CTX_set_options'
tls.c:(.text+0x5253): undefined reference to `OPENSSL_sk_new_null'
tls.o: In function `tls_server_start':
tls.c:(.text+0x5642): undefined reference to `SSL_CTX_set_num_tickets'
tls.c:(.text+0x596f): undefined reference to `SSL_session_reused'
tls.c:(.text+0x5af1): undefined reference to `SSL_CIPHER_standard_name'
tls.c:(.text+0x5b57): undefined reference to `SSL_SESSION_print_keylog'
tls.c:(.text+0x5b72): undefined reference to `SSL_SESSION_has_ticket'
tls.c:(.text+0x5b7e): undefined reference to `SSL_SESSION_get_ticket_lifetime_hint'
tls.o: In function `tls_client_start':
tls.c:(.text+0x6365): undefined reference to `SSL_clear_options'
tls.c:(.text+0x64e9): undefined reference to `SSL_SESSION_get_ticket_lifetime_hint'
tls.c:(.text+0x6700): undefined reference to `SSL_SESSION_print_keylog'
tls.c:(.text+0x6712): undefined reference to `SSL_session_reused'
tls.c:(.text+0x683d): undefined reference to `SSL_CIPHER_standard_name'
tls.o: In function `tls_cert_not_before':
tls.c:(.text+0x6b04): undefined reference to `X509_getm_notBefore'
tls.o: In function `tls_cert_not_after':
tls.c:(.text+0x6b1a): undefined reference to `X509_getm_notAfter'
tls.o: In function `tls_cert_version':
tls.c:(.text+0x6e89): undefined reference to `X509_get_version'
tls.o: In function `tls_cert_subject_altname':
tls.c:(.text+0x70d7): undefined reference to `OPENSSL_sk_pop'
tls.c:(.text+0x7109): undefined reference to `ASN1_STRING_get0_data'
tls.c:(.text+0x7129): undefined reference to `ASN1_STRING_get0_data'
tls.c:(.text+0x7149): undefined reference to `ASN1_STRING_get0_data'
tls.c:(.text+0x71ff): undefined reference to `OPENSSL_sk_num'
tls.c:(.text+0x720f): undefined reference to `OPENSSL_sk_free'
tls.o: In function `tls_cert_ocsp_uri':
tls.c:(.text+0x7271): undefined reference to `OPENSSL_sk_num'
tls.c:(.text+0x72bd): undefined reference to `OPENSSL_sk_value'
tls.c:(.text+0x72f1): undefined reference to `ASN1_STRING_get0_data'
tls.c:(.text+0x7316): undefined reference to `OPENSSL_sk_free'
tls.c:(.text+0x733c): undefined reference to `OPENSSL_sk_free'
tls.o: In function `tls_cert_crl_uri':
tls.c:(.text+0x73b2): undefined reference to `OPENSSL_sk_num'
tls.c:(.text+0x73df): undefined reference to `OPENSSL_sk_value'
tls.c:(.text+0x73f3): undefined reference to `OPENSSL_sk_num'
tls.c:(.text+0x7409): undefined reference to `OPENSSL_sk_value'
tls.c:(.text+0x742c): undefined reference to `ASN1_STRING_get0_data'
tls.c:(.text+0x7463): undefined reference to `OPENSSL_sk_free'
tls.c:(.text+0x748b): undefined reference to `OPENSSL_sk_free'
pdkim/pdkim.a(signing.o): In function `exim_dkim_init':
signing.c:(.text+0xf): undefined reference to `OPENSSL_init_crypto'
pdkim/pdkim.a(signing.o): In function `exim_dkim_sign':
signing.c:(.text+0x109): undefined reference to `EVP_MD_CTX_new'
signing.c:(.text+0x153): undefined reference to `EVP_DigestSign'
signing.c:(.text+0x18f): undefined reference to `EVP_DigestSign'
signing.c:(.text+0x19b): undefined reference to `EVP_MD_CTX_free'
signing.c:(.text+0x1ce): undefined reference to `EVP_MD_CTX_free'
pdkim/pdkim.a(signing.o): In function `exim_dkim_verify_init':
signing.c:(.text+0x249): undefined reference to `EVP_PKEY_new_raw_public_key'
pdkim/pdkim.a(signing.o): In function `exim_dkim_verify':
signing.c:(.text+0x2fe): undefined reference to `EVP_MD_CTX_new'
signing.c:(.text+0x341): undefined reference to `EVP_DigestVerify'
signing.c:(.text+0x34d): undefined reference to `EVP_MD_CTX_free'
signing.c:(.text+0x35f): undefined reference to `EVP_MD_CTX_free'
signing.c:(.text+0x3a8): undefined reference to `RSA_pkey_ctx_ctrl'
collect2: error: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.95/build-Linux-x86_64'
make: *** [all] Error 2
My best guess is that this problem is occurring because the OpenSSL version has been updated manually whitout DirectAdmin and/or cloudlinux repos.
I'm trying to downgrade the openssl version with;
yum reinstall openssl\*
Does not work. I re-compile it manually to a lower version, does not work.
openssl version
Still shows 1.1.1L
Any suggestions?
At this rate i'm stuck.
Regards