search for: resolv8_compat

Displaying 1 result from an estimated 1 matches for "resolv8_compat".

2009 Sep 10
1
need -lresolv on MacOSX 10.6
...resolv to the link line fixes it. Checking <http://opensource.apple.com/release/mac-os-x-106/>, I see that Apple's OpenSSH package adds -lresolv to "Extra_LD_Flags". I notice that /usr/include/resolve.h on MacOSX 10.6.0 no longer contains #ifdef BIND_8_COMPAT #include <resolv8_compat.h> as seen in previous MacOSX releases, so we get #define res_query res_9_query which creates the dependency on -lresolv. OpenSSH's configure script tests for res_query with AC_TRY_LINK_FUNC(res_query, ...) which doesn't #include <resolv.h>, so it doesn't detect that -lre...