Murray S. Kucherawy wrote:
On Thu, 26 Mar 2009, Johannes Siebert wrote:
  
Thank you for your answer. Where do I need to add this -lresolv?
    

In dkim-filter/Makefile.m4, you need to add something like:

 	APPENDDEF(`confLIBS', `-lresolv ')

...right before the first bldPRODUCT_END line.  If other applications also 
complain, move that to above the first bldPRODUCT_START line.

------------------------------------------------------------------------------
_______________________________________________
dkim-milter-discuss mailing list
dkim-milter-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss
  
No change at all. Exactly the same output:


/home/andy/dkim-milter-2.8.2/dkim-filter
Configuration: pfx=, os=Linux, rel=2.6.22.19-0.1-default, rbase=2, rroot=2.6.22.19-0, arch=x86_64, sfx=, variant=optimized
Making in /home/andy/dkim-milter-2.8.2/obj.Linux.2.6.22.19-0.1-default.x86_64/dkim-filter
make[1]: Entering directory `/home/andy/dkim-milter-2.8.2/obj.Linux.2.6.22.19-0.1-default.x86_64/dkim-filter'
cc -o dkim-filter -lpthread -L/usr/lib  -L/usr/lib config.o dkim-ar.o dkim-arf.o dkim-crypto.o dkim-db.o dkim-filter.o stats.o test.o util.o      -lmilter  /home/andy/dkim-milter-2.8.2/obj.Linux.2.6.22.19-0.1-default.x86_64/libdkim/libdkim.a /home/andy/dkim-milter-2.8.2/obj.Linux.2.6.22.19-0.1-default.x86_64/libsm/libsm.a /home/andy/dkim-milter-2.8.2/obj.Linux.2.6.22.19-0.1-default.x86_64/libar/libar.a  -ldl -lssl -lcrypto
/home/andy/dkim-milter-2.8.2/obj.Linux.2.6.22.19-0.1-default.x86_64/libdkim/libdkim.a(dkim-keys.o): In function `dkim_get_key_dns':
dkim-keys.c:(.text+0x3b9): undefined reference to `__dn_expand'
dkim-keys.c:(.text+0x3c4): undefined reference to `__dn_skipname'
dkim-keys.c:(.text+0x604): undefined reference to `__dn_expand'
dkim-keys.c:(.text+0x634): undefined reference to `__dn_expand'
/home/andy/dkim-milter-2.8.2/obj.Linux.2.6.22.19-0.1-default.x86_64/libdkim/libdkim.a(dkim-policy.o): In function `dkim_get_policy_dns':
dkim-policy.c:(.text+0x4d7): undefined reference to `__dn_expand'
dkim-policy.c:(.text+0x4e2): undefined reference to `__dn_skipname'
dkim-policy.c:(.text+0x703): undefined reference to `__dn_expand'
dkim-policy.c:(.text+0x751): undefined reference to `__dn_expand'
/home/andy/dkim-milter-2.8.2/obj.Linux.2.6.22.19-0.1-default.x86_64/libdkim/libdkim.a(dkim-test.o): In function `dkim_test_dns_get':
dkim-test.c:(.text+0x7a2): undefined reference to `__dn_comp'
dkim-test.c:(.text+0x85b): undefined reference to `__dn_comp'
dkim-test.c:(.text+0x9d1): undefined reference to `__dn_comp'
/home/andy/dkim-milter-2.8.2/obj.Linux.2.6.22.19-0.1-default.x86_64/libdkim/libdkim.a(util.o): In function `dkim_check_dns_reply':
util.c:(.text+0xf3): undefined reference to `__dn_expand'
util.c:(.text+0xfe): undefined reference to `__dn_skipname'
util.c:(.text+0x1bb): undefined reference to `__dn_expand'
util.c:(.text+0x1f0): undefined reference to `__dn_expand'
/home/andy/dkim-milter-2.8.2/obj.Linux.2.6.22.19-0.1-default.x86_64/libar/libar.a(ar.o): In function `ar_sendquery':
ar.c:(.text+0x157a): undefined reference to `__res_nmkquery'
/home/andy/dkim-milter-2.8.2/obj.Linux.2.6.22.19-0.1-default.x86_64/libar/libar.a(ar.o): In function `ar_dispatcher':
ar.c:(.text+0x1b6e): undefined reference to `__dn_skipname'
ar.c:(.text+0x1b90): undefined reference to `__dn_skipname'
ar.c:(.text+0x213b): undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make[1]: *** [dkim-filter] Error 1
make[1]: Leaving directory `/home/andy/dkim-milter-2.8.2/obj.Linux.2.6.22.19-0.1-default.x86_64/dkim-filter'
make: *** [all] Error 2