PHP编译安装报错undefined reference to `__dn_skipname'
错误:
undefined reference to `__dn_skipname' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error
解决:
make clean make ZEND_EXTRA_LIBS='-lresolv'