undefined reference __dn_expand

$ objdump -T /lib/libresolv.so.2|grep dn_expand 000040e0 w DF .text 0000005e GLIBC_2.0 dn_expand 000040e0 g DF .text 0000005e GLIBC_2.2 __dn_expand Looks like the newer glibc abi added a couple of underscores. try doing a "for i in /lib/lib*.so;do objdump -T $i|grep dn_expand && echo $i;done" ?

你可能感兴趣的:(reference)