libresolv interaction
Russ Allbery
rra at stanford.edu
Wed Feb 7 10:18:12 UTC 2001
Alex Kiernan <alexk at demon.net> writes:
> 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?).
I'm not sure that the comment is inaccurate so much as just attributing
the end result to another cause that could also produce the same behavior.
Although it doesn't look like Perl is currently sucking in libresolv, so
I'll go ahead and change this to avoid confusion.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-workers
mailing list