[exim] Exim and domainkeys compile problems

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: nlinley
Dátum:  
Címzett: exim-users
Tárgy: [exim] Exim and domainkeys compile problems
I'm trying to build exim with domainkeys and have been running into a
bunch of errors. I'm running slackware 10.1.

When trying to compile libdomainkeys 0.68, I get this

gcc -DBIND_8_COMPAT -O2 -I/usr/include/openssl -o dktest dktest.o -L.
-ldomainkeys -lcrypto `cat dns.lib`
/libdomainkeys.a(dns_txt.o)(.text+0x41): In function `dns_text':
: undefined reference to `__res_query'
/libdomainkeys.a(dns_txt.o)(.text+0xb9): In function `dns_text':
: undefined reference to `__dn_expand'
/libdomainkeys.a(dns_txt.o)(.text+0x10c): In function `dns_text':
: undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make: *** [dktest] Error 1


After giving up on this, I tried version 0.67 which seemed to compile
fine. When I tried to compile exim however, I received a long list
of errors. (This happened in any exim version i tried 4.51-4.60).
Here are some of the undefined values...

/root/libdomainkeys-0.67//libdomainkeys.a(domainkeys.o)(.text+0x1e):
In function
`dk_strdup':
: undefined reference to `CRYPTO_malloc'
/root/libdomainkeys-0.67//libdomainkeys.a(domainkeys.o)(.text+0x86):
In function
`dk_init':
: undefined reference to `CRYPTO_malloc'
/root/libdomainkeys-0.67//libdomainkeys.a(domainkeys.o)(.text+0x94):
In function
`dk_init':
: undefined reference to `EVP_sha1'
/root/libdomainkeys-0.67//libdomainkeys.a(domainkeys.o)(.text+0xc0):
In function
`dk_init':


Does anyone know what I might be missing here?

Nathan