[exim] DKIM - linker errors on OS X 10.4

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Brian Blood
Datum:  
To: Exim-users
Alte Treads: Re: [exim] DKIM - signing mail
Betreff: [exim] DKIM - linker errors on OS X 10.4
On Apr 3, 2008, at 5:04 PM, exim-users@??? wrote:

> Renaud Allard schrieb:
>>
>> Tom Kistner wrote:
>>> Renaud Allard schrieb:
>>>
>>>> /usr/local/lib/libdkim.a(dkimsign.o)(.text+0x103): In function
>>>> `CDKIMSign::CDKIMSign[not-in-charge]()':
>>>> : undefined reference to `EVP_sha256'
>>> OK, then that OpenSSL was actually built without sha256 support.
>>> I'm
>>> afraid you need to upgrade it.
>>>
>>
>> I think you are right. However, it is funny as OpenBSD uses sha256 as
>> the default auth in ipsec and the header is present:
>>
>> # grep EVP_sha256 /usr/include/openssl/*
>> /usr/include/openssl/evp.h:const EVP_MD *EVP_sha256(void);
>>
>> # strings /usr/lib/libssl.so.11.0 | grep 256
>> EVP_aes_256_cbc
>> DH-DSS-AES256-SHA
>> DH-RSA-AES256-SHA
>> DHE-DSS-AES256-SHA
>> DHE-RSA-AES256-SHA
>> ADH-AES256-SHA
>> AES-256-CBC
>> AES(256)
>
> Those strings are just SSL ciphersuites, using a 256 bit AES key
> together with an ordinary 160 bit SHA-1. Obviously, EVP_sha256()
> was not
> compiled in.
>
> But since you have EVP_sha256() in the cited header, you can check the
> header along with openssl's makefile on how to pull it in.
>




I'm trying to compile in dkim support into the 4.69 codebase on OS X
10.4.11

I've downloaded, compiled and installed openssl 0.9.8h and gotten
sha256 support there.

I downloaded the libdkim from here:
http://duncanthrax.net/exim-experimental/libdkim-1.0.16-tk.tar.gz
and compiled that and all looks good.

I've put my configs for adding dkim support into exim's Local/Makefile

My issue is at the end of make during the linking process:

cc -o exim
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_SSL_CTX_set_info_callback
_EVP_sha256
_BIO_set_flags
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make: *** [go] Error 2


I'm stumped, anyone got any pointers?


Brian