Missing symbols from libresolv.so

Mark Kettenis kettenis@wins.uva.nl
Sun Jul 9 13:48:00 GMT 2000


In the upgrade to BIND-8.2.2-P5, two symbols have been lost:

1. The variable _res_resultcodes.

2. The function __p_rr.

So in principle the glibc 2.2 libresolv.so isn't binary compatible
with the one from glibc 2.1.  Adding a backwards compatible
_res_resultcodes isn't too difficult, but __p_rr() might pose a
problem.  I'm a bit inclined to simply leave them out and see what
happens.  The symbols are pretty obscure and undocumented.
_res_resultcodes isn't even mentioned in <resolv.h>, and p_rr() is
documented as one of the "Private routine shared between libc/net,
named, nslookup and others".  So I strongly suspect that only programs
distributed with BIND 4 access these symbols (in BIND-4.9.7-REL, dig
en nslookup do this).  Are people aware of distributions that shipped
with the BIND 4 tools linked with glibc's libresolv.so.2?

Mark


More information about the Libc-hacker mailing list