AW: [milter-greylist] Re: milter-greylist-4.3.9
2011-04-14 by Steger Wolfgang
> Von: milter-greylist@yahoogroups.com im Auftrag von John Wood
> Gesendet: Do 14.04.2011 02:42
> An: milter-greylist@yahoogroups.com
> Betreff: Re: [milter-greylist] Re: milter-greylist-4.3.9
>
>> don´t compile in Centos 5.6 with bind97
>>
>> dnsrbl.c:205: undefined reference to `__ns_initparse'
>> dnsrbl.c:211: undefined reference to `__ns_parserr'
>>
>>
>> ./configure --enable-postfix --enable-dnsrbl --with-user=postfix
>> --with-libbind=/usr --enable-spamassassin
>
>Looks like you need nameser.h:
>
>
>arpa/nameser.h:#define ns_initparse __ns_initparse
>arpa/nameser.h:#define ns_parserr __ns_parserr
I ran into the same on Suse 11.0.
I had to link to libresolv.a (the static lib) instead of libresolv.so (the shared one).
YMMV, Wolfgang
--
Dipl.Ing. Wolfgang Steger first facility GmbH
EDV Server Management ; a member of EVN Group
wolfgang.steger@... 1120 Wien, Technologiestr. 8
Tel: +43 (1) 61424-0 Fax: +43 (1) 614 24-20