Autor: Joseph Kezar Data: Para: exim-users Asunto: [exim] Difficulty compiling 4.95 on Debian 11
I'm trying to compile with OpenSSL and am getting this error.
/usr/bin/ld: hash.o: in function `exim_sha_init':
hash.c:(.text+0x32): undefined reference to `SHA1_Init'
/usr/bin/ld: hash.c:(.text+0x4e): undefined reference to `SHA256_Init'
/usr/bin/ld: hash.c:(.text+0x65): undefined reference to `SHA384_Init'
/usr/bin/ld: hash.c:(.text+0x7c): undefined reference to `SHA512_Init'
/usr/bin/ld: hash.c:(.text+0x8f): undefined reference to `EVP_sha3_224'
/usr/bin/ld: hash.c:(.text+0x97): undefined reference to `EVP_MD_CTX_new'
/usr/bin/ld: hash.c:(.text+0xa6): undefined reference to `EVP_DigestInit'
/usr/bin/ld: hash.c:(.text+0xb9): undefined reference to `EVP_sha3_256'
/usr/bin/ld: hash.c:(.text+0xc1): undefined reference to `EVP_MD_CTX_new'
/usr/bin/ld: hash.c:(.text+0xd0): undefined reference to `EVP_DigestInit'
/usr/bin/ld: hash.c:(.text+0xe6): undefined reference to `EVP_sha3_384'
/usr/bin/ld: hash.c:(.text+0xee): undefined reference to `EVP_MD_CTX_new'
/usr/bin/ld: hash.c:(.text+0xfd): undefined reference to `EVP_DigestInit'
/usr/bin/ld: hash.c:(.text+0x113): undefined reference to `EVP_sha3_512'
/usr/bin/ld: hash.c:(.text+0x11b): undefined reference to `EVP_MD_CTX_new'
/usr/bin/ld: hash.c:(.text+0x12a): undefined reference to `EVP_DigestInit'
/usr/bin/ld: hash.o: in function `exim_sha_update':
hash.c:(.text+0x16c): undefined reference to `SHA1_Update'
/usr/bin/ld: hash.c:(.text+0x17d): undefined reference to `SHA256_Update'
/usr/bin/ld: hash.c:(.text+0x18b): undefined reference to `SHA384_Update'
/usr/bin/ld: hash.c:(.text+0x199): undefined reference to `SHA512_Update'
/usr/bin/ld: hash.c:(.text+0x1a7): undefined reference to `EVP_DigestUpdate'
/usr/bin/ld: hash.o: in function `exim_sha_finish':
hash.c:(.text+0x21b): undefined reference to `SHA1_Final'
/usr/bin/ld: hash.c:(.text+0x22b): undefined reference to `SHA256_Final'
/usr/bin/ld: hash.c:(.text+0x236): undefined reference to `SHA384_Final'
/usr/bin/ld: hash.c:(.text+0x241): undefined reference to `SHA512_Final'
/usr/bin/ld: hash.c:(.text+0x257): undefined reference to `EVP_DigestFinal'
/usr/bin/ld: hash.o: in function `sha1_start':
hash.c:(.text+0x292): undefined reference to `SHA1_Init'
/usr/bin/ld: tls.o: in function `lib_rand_init':
tls.c:(.text+0x56): undefined reference to `RAND_status'
/usr/bin/ld: tls.c:(.text+0x8e): undefined reference to `RAND_seed'
/usr/bin/ld: tls.c:(.text+0xa0): undefined reference to `RAND_seed'
/usr/bin/ld: tls.c:(.text+0xb2): undefined reference to `RAND_seed'
/usr/bin/ld: tls.c:(.text+0xb7): undefined reference to `RAND_status'
/usr/bin/ld: tls.o: in function `info_callback':
Any suggestions how I can compile without getting these errors?