Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Re: milter-greylist 3.0rc6 segmentation fault.

2006-11-02 by Matt Kettler

Matt Kettler wrote:
> 2. Where did BIND installed its headers, especially netdb.h?
> 
> bind installed to /usr/local/bind/include. However, there are several netdb.h's
> on my system:
> 
> /usr/include/bits/netdb.h
> /usr/include/netdb.h
> /usr/include/rpc/netdb.h
> /usr/include/isc/netdb.h
> /usr/include/lwres/netdb.h
> /usr/local/bind/include/netdb.h
> 
> Of importance: my system does have redahat 9's bind-devel package installed, but
> it lacks libbind.a and libbind.so. I built my own libbind from redhat's own bind
> sourcefiles.

<snip>
> 
> Should I try removing bind-devel? Perhaps its getting mixed pieces somewhere?

Followup:

removing bind-devel didn't help, but it did remove /usr/include/isc/netdb.h and
/usr/include/lwres.netdb.h.

I was able to make it work correctly by editing milter-greylist.h and forcing
netdb.h to be loaded from /usr/local/bind/include/

This works even with   HAVE_GETADDRINFO defined.

So it looks like glibc's /usr/include/netdb.h is not compatible with bind's own
netdb.h.

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.