Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

centos7 - Trying to update exim and httpd on custombuild / directadmin but get undefined reference to OPENSSL

I'm trying to update EXIM and httpd but is failing.

Used commands:

cd /usr/local/directadmin/custombuild/
./build exim

but ends with the following:

...
tls.o: In function `tls_cert_ocsp_uri':
tls.c:(.text+0x5558): undefined reference to `OPENSSL_sk_num'
tls.c:(.text+0x55a4): undefined reference to `OPENSSL_sk_value'
tls.c:(.text+0x55d8): undefined reference to `ASN1_STRING_get0_data'
tls.c:(.text+0x55fd): undefined reference to `OPENSSL_sk_free'
tls.c:(.text+0x5623): undefined reference to `OPENSSL_sk_free'
tls.o: In function `tls_cert_crl_uri':
tls.c:(.text+0x5699): undefined reference to `OPENSSL_sk_num'
tls.c:(.text+0x56c6): undefined reference to `OPENSSL_sk_value'
tls.c:(.text+0x56da): undefined reference to `OPENSSL_sk_num'
tls.c:(.text+0x56f0): undefined reference to `OPENSSL_sk_value'
tls.c:(.text+0x5713): undefined reference to `ASN1_STRING_get0_data'
tls.c:(.text+0x574a): undefined reference to `OPENSSL_sk_free'
tls.c:(.text+0x5772): 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.94/build-Linux-x86_64'
make: *** [all] Error 2

also to show the output of following: openssl version -a

OpenSSL 1.1.1g  21 Apr 2020
built on: Thu Jul  2 12:23:42 2020 UTC
platform: linux-x86_64
options:  bn(64,64) rc4(16x,int) des(int) idea(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DNDEBUG
OPENSSLDIR: "/usr/local/ssl"
ENGINESDIR: "/usr/local/lib64/engines-1.1"
Seeding source: os-specific

Seems maybe something with openssl. Tried everything but didn't succeed yet.

question from:https://stackoverflow.com/questions/65941028/trying-to-update-exim-and-httpd-on-custombuild-directadmin-but-get-undefined-r

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...