[exim] Troubles compiling on Macosx Leopard intel with libdk…

Top Page
Delete this message
Reply to this message
Author: antonio cocco
Date:  
To: exim-users
Subject: [exim] Troubles compiling on Macosx Leopard intel with libdkim
I managed, after many troubles, to successfully compile exim, on Macos
10.5.x x86, but I'm not able to successfully compile exim with dkim  
support.
I had to change some include to compile with success libdkim, but when  
compiling exim against libdkim produces the following error:
cc version.c
rm -f exim
cc -o exim
Undefined symbols:
   "_EVP_sha256", referenced from:
       CDKIMVerify::ProcessHeaders()       in libdkim.a(dkimverify.o)
       CDKIMVerify::ProcessHeaders()       in libdkim.a(dkimverify.o)
       CDKIMSign::CDKIMSign()in libdkim.a(dkimsign.o)
       CDKIMSign::CDKIMSign()in libdkim.a(dkimsign.o)
       CDKIMSign::CDKIMSign()in libdkim.a(dkimsign.o)
       CDKIMSign::CDKIMSign()in libdkim.a(dkimsign.o)
   "_res_9_query", referenced from:
       _DNSGetTXT(char const*, char*, int)in libdkim.a(dns.o)
   "_SSL_CTX_set_info_callback", referenced from:
       _tls_init in tls.o
   "_res_9_dn_expand", referenced from:
       _DNSGetTXT(char const*, char*, int)in libdkim.a(dns.o)
       _DNSGetTXT(char const*, char*, int)in libdkim.a(dns.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make: *** [go] Error 2
I tried also to build a more recent openssl build and compile libdkim  
and exim against that library, but probably I made some mistakes.
Please help


Thank you

Antonio Cocco


Message sent by Kerio Mailserver on cocco.it (Virus scanned by ClamAV with SpamAssassin)
Messaggio Inviato da Kerio Mailserver su cocco.it (Virus scanned by ClamAV with SpamAssassin)