[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: make test fails: getaddrinfo ai_addr is NULL?

On Tue, Oct 30, 2001 at 01:10:33PM +0100, Dirk-Jan Faber wrote:
> L.S.,
> When trying to compile openldap, the make test fails right away. The master.log file gives some more information:
> djfaber@warbase:~/openldap-2.0.18/tests/test-db$ cat master.log 
> @(#) $OpenLDAP: slapd 2.0.18-Release (Tue Oct 30 12:49:59 CET 2001) $
>         dirkjf@tux:/home/dirkjf/openldap-2.0.18/servers/slapd
> daemon_init: ldap://localhost:9009/
> daemon_init: listen on ldap://localhost:9009/
> daemon_init: 1 listeners to open...
> ldap_url_parse_ext(ldap://localhost:9009/)
> slap_get_listener_addresses: getaddrinfo ai_addr is NULL?
> slapd stopped.
> connections_destroy: nothing to destroy.

Which getaddrinfo() implementation is this? If Linux, what version of
the GNU C library? Have you installed some other library containing
getaddrinfo(), for example BIND? In my opinion, your getaddrinfo()
is broken.