#49332 [Com]: Make fails with "Undefined symbols: _res_9_dn_expand, _res_9_search and _res_9"

From: Date: Mon, 07 Sep 2009 05:18:55 +0000
Subject: #49332 [Com]: Make fails with "Undefined symbols: _res_9_dn_expand, _res_9_search and _res_9"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-142045@lists.php.net to get a copy of this message
 ID:               49332
 Comment by:       tmallen at 703designs dot com
 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:

Here's a temporary fix: http://trac.macports.org/ticket/19997


Previous Comments:
------------------------------------------------------------------------

[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] jani@php.net

I would guess Scott meant "PHP_5_2" branch.. :)

------------------------------------------------------------------------

[2009-08-23 11:31:11] scottmac@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



Thread (9 messages)

« previous php.bugs (#142045) next »