-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/06/11 11:55, Samuel Thibault wrote:
> Could you look for this in your /usr/include?
$ grep -R __res_query /usr/include/
/usr/include/resolv.h:#define res_query __res_query
/usr/include/resolv.h:#define res_querydomain __res_querydomain
$ grep -wR res_query /usr/include/
/usr/include/resolv.h:#define res_query __res_query
/usr/include/resolv.h:int res_query (const char *, int, int,
u_char *, int) __THROW;
The symbol itself is only in the .so files, not in any of
the object modules, so it looks like it's something being
pulled in as a link-time dependency by libtool/ld.
$ grep -R res_query .
Binary file ./src/.libs/libhwloc.so.0.0.0 matches
Binary file ./src/.libs/libhwloc.so matches
Binary file ./src/.libs/libhwloc.so.0 matches
> I fail to see how that symbol can ever get into
> libhwloc.so, as we don't do any network thing at all...
I *suspect* it's being pulled in by libpci - here:
$ nm /usr/lib/libpci.a | grep res_query
U __res_query
$ rpm -qf /usr/lib/libpci.a
pciutils-devel-3.1.7-3.el5
Oddly that's listed as being in the library on Ubuntu 11.04
too, but it's not ending up in the libhwloc.so on that platform.
cheers!
Chris
- --
Christopher Samuel - Senior Systems Administrator
VLSCI - Victorian Life Sciences Computation Initiative
Email: [email protected] Phone: +61 (0)3 903 55545
http://www.vlsci.unimelb.edu.au/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk30UmQACgkQO2KABBYQAh9Y7QCfRjySIuh4eoN7BEGqJ4BXWLgB
KsUAoJaYlF8xKgFrg2NM/a8QIhjdgK9/
=/diu
-----END PGP SIGNATURE-----