Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Thread

AW: [milter-greylist] Re: milter-greylist-4.3.9

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

Re: milter-greylist-4.3.9

2011-04-18 by gitoshi

> I had to link to libresolv.a (the static lib) instead of libresolv.so (the shared one).

How do you compile again the static one??


--- In milter-greylist@yahoogroups.com, "Steger Wolfgang" <wolfgang.steger@...> wrote:
Show quoted textHide quoted text
>
> > 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
>

Re: [milter-greylist] Re: milter-greylist-4.3.9

2011-04-19 by manu@netbsd.org

gitoshi <gitoshi@...> wrote:

> > I had to link to libresolv.a (the static lib) instead of libresolv.so
> > (the shared one).
> How do you compile again the static one??

Add full path to libresolv.a to the list of objects at link time by
patching Makefile.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: [milter-greylist] Re: milter-greylist-4.3.9

2011-04-19 by William Astle

On 11-04-18 06:44 PM, manu@... wrote:

gitoshi <gitoshi@...> wrote:

> > I had to link to libresolv.a (the static lib) instead of libresolv.so
> > (the shared one).
> How do you compile again the static one??

Add full path to libresolv.a to the list of objects at link time by
patching Makefile.

You can also try:

LDFLAGS= ./configure ....

no patching Makefiles required.

Or set LDFLAGS (and export it) before invoking configure but the above will set it only for the invokation of configure, which autoconf is designed to handle.


--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...


AW: [milter-greylist] Re: milter-greylist-4.3.9

2011-04-19 by Steger Wolfgang

I created a link /usr/local/lib/libresolv.a => /usr/lib/libresolv.a and put '-L/usr/local/lib' into LDFLAGS.
This makes the linker find /usr/local/lib/libresolv.a before /usr/lib/libresolv.so (and /usr/lib/libresolv.a).
HTH, 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

Von: milter-greylist@yahoogroups.com im Auftrag von gitoshi
Gesendet: Mo 18.04.2011 23:23
An: milter-greylist@yahoogroups.com
Betreff: [milter-greylist] Re: milter-greylist-4.3.9

> I had to link to libresolv.a (the static lib) instead of libresolv.so (the shared one).

How do you compile again the static one??

--- In milter-greylist@yahoogroups.com, "Steger Wolfgang" wrote:
>
> > 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
>

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.