Subject: Re: what library to get `getipnodebyname' and `freehostent'?
To: None <netbsd-help@NetBSD.org>
From: None <khym@azeotrope.org>
List: netbsd-help
Date: 04/30/2006 12:50:55
On Sun, Apr 30, 2006 at 04:42:03PM +0900, Henry Nelson wrote:
> uname -a
> NetBSD 3.0.0_STABLE
> 
> Trying to compile tcp_wrappers_7.6-ipv6.4, but keep getting:
> 	libwrap.a(misc.o)(.text+0x1c4): In function `tcpd_gethostbyname':
> 	: undefined reference to `freehostent'
> 	libwrap.a(misc.o)(.text+0x1d5): In function `tcpd_gethostbyname':
> 	: undefined reference to `getipnodebyname'

I don't know the answer to your question, but in case you didn't already
know, NetBSD comes with tcpwrappers 7.6 (well, at least NetBSD-current
does; 3.0 may have an older version, but it definitely has it). NetBSD
doesn't have tcpd though; its functionality is integrated into inetd.
Just edit /etc/hosts.allow and /etc/hosts.deny and it should work. IPv6
is supported.