libresolv interaction
Alex Kiernan
alexk at demon.net
Wed Feb 7 09:47:03 UTC 2001
Thanks for putting libresolv checks back in configure, but the
comment's inaccurate:
"dnl Check for inet_aton. We have our own, but on Solaris the version in
dnl libresolv is more lenient in ways that Solaris's internal DNS resolution
dnl code requires, so if we use our own *and* link with libresolv (which may
dnl be forced by Perl) DNS resolution fails."
What I think actually happens is that when you do a name lookup, the
NSS code pulls in nss_dns.so which then explicitly dlopen's
libresolv.so.2, the result being that you don't need to link with
libresolv, or even think you might be, the run time library is doing
it underneath you (why can't they keep their symbols out of the user
name space?).
--
Alex Kiernan, Principal Engineer, Development, Thus PLC
More information about the inn-workers
mailing list