ID: 49332 Updated by: phi...@php.net Reported By: vizh at me dot com Status: Assigned Bug Type: Compile Failure Operating System: Mac OS X 10.6 (10A432) PHP Version: 5.2.10 Assigned To: scottmac New Comment:
Another temp fix: Add -lresolv to EXTRA_LIBS in the generated MakeFile. See also: http://bit.ly/SJ3YQ Previous Comments: ------------------------------------------------------------------------ [2009-09-07 05:18:55] tmallen at 703designs dot com Here's a temporary fix: http://trac.macports.org/ticket/19997 ------------------------------------------------------------------------ [2009-08-26 00:51:27] djem dot v3 at gmail dot com Since php 5.3 has been preinstalled in Snow Leopard, it is very important to have php 5.2 in system. ------------------------------------------------------------------------ [2009-08-24 14:43:24] j...@php.net I would guess Scott meant "PHP_5_2" branch.. :) ------------------------------------------------------------------------ [2009-08-23 11:31:11] scott...@php.net This is fixed in 5.3.1-dev, I'll look into backporting changes to the 5.3 branch. ------------------------------------------------------------------------ [2009-08-23 03:31:54] vizh at me dot com Description: ------------ I've download http://snaps.php.net/php5.2-latest.tar.gz, runs ./configure; make and make fails with undefined symbols: _res_9_dn_expand, _res_9_search and _res_9_dn_skipname Reproduce code: --------------- cd /tmp curl "http://snaps.php.net/php5.2-latest.tar.gz" > php.tar.gz tar -xf php.tar.gz; rm -rf php.tar.gz; mv php* php-build; cd php-build ./configure --disable-all make Actual result: -------------- Undefined symbols: "_res_9_search", referenced from: _zif_dns_get_mx in dns.o _zif_dns_check_record in dns.o "_res_9_dn_expand", referenced from: _zif_dns_get_mx in dns.o "_res_9_dn_skipname", referenced from: _zif_dns_get_mx in dns.o _zif_dns_get_mx in dns.o ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49332&edit=1