On 08/09/2012 12:39 AM, Simon Josefsson wrote:
> I just pushed another patch to resolve resolver linking issues,
> could you test whether it also solves your problem?

That would be commit 63023d749f4f7 I guess.  Still no go:

[...]
checking for res_query... no
checking for res_query in -lresolv... no
configure: WARNING: no libresolv, SRV RRs not used

> You didn't mention which OS you were using, is it a BSD system?

Sorry, this is linux.

Basically, any non-ancient glibc defines res_query in resolv.h and
implements __res_query() only:

$ grep -w "define res_query" /usr/include/resolv.h
#define res_query               __res_query
$ nm -D /usr/lib64/libresolv.so | grep res_query$
0000000000007ae0 T __res_query

i.e. AC_CHECK_LIB cannot find res_query in libresolv without including
resolv.h in its test.  Hence, my patch.

-- 
Eray Aslan <e...@gentoo.org>

_______________________________________________
Help-shishi mailing list
Help-shishi@gnu.org
https://lists.gnu.org/mailman/listinfo/help-shishi

Reply via email to