[Bug 867] configure fails to find res_query/dn_expand on Linux amd64

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed May 12 07:04:00 EST 2004


http://bugzilla.mindrot.org/show_bug.cgi?id=867

           Summary: configure fails to find res_query/dn_expand on Linux
                    amd64
           Product: Portable OpenSSH
           Version: 3.8.1p1
          Platform: Other
               URL: http://bugs.debian.org/242462
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build system
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: cjwatson at debian.org


Debian bug #242462 from Kurt Roeckx <Q at ping.be> reports:

  It seems configure is unable to detect res_query and others in
  libresolv because resolv.h wasn't included.  It changes it to
  __res_query, which is how it's called in the lib too.

  The reason this works on some architectures is that they have a
  weak alias from res_query to __res_query, but architectures (like
  amd64) starting from glibc 2.2 or later don't have that.

The right thing to do definitely seems to be for configure to use the documented
interface to res_query (i.e. #include <resolv.h>, compile) rather than poking
about in libraries for it by hand. I'll attach Kurt's patch in a moment.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list