Yahoo Groups archive

Milter-greylist

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

Message

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
>

Attachments

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.