ID:               49078
 Comment by:       dipakgarg at gmail dot com
 Reported By:      kdprice at baylou dot com
 Status:           No Feedback
 Bug Type:         Compile Failure
 Operating System: CentOS 5
 PHP Version:      5.3SVN-2009-07-27 (snap)
 New Comment:

i tried to install php5.3.0 on ubuntu today and faced the similar
problem, plz help me with the solution


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

[2009-08-05 01:00:03] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2009-07-30 08:03:23] max at tnug dot com

Had the same problem today on PHP 5.3.0-stable.

Debian 2.6.22 #2 SMP x86_64 GNU/Linux.

Was able to solve the problem quickly and easily by adding -lresolve to
the EXTRA_LIBS in my generated makefile.

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

[2009-07-28 19:34:09] j...@php.net

We haven't released 5.3.1 even, so how could you test 5.3.2? :D
Anyway, I can't reproduce this under CentOS 5, using latest SVN 
checkout. Please try again, this time using _clean_ sources and 
configure _outside_ sources:

/some/dir/sources
/some/dir/build

# cd /some/dir/build
# /some/dir/sources/configure <your options here>


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

[2009-07-27 18:40:29] kdprice at baylou dot com

Description:
------------
Make for php5.3.2 installation failed with an Error 1 related to
sapi/cli/php.



Reproduce code:
---------------
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5/lib
--disable-cgi --with-gettext --with-gdbm
--with-libxml-dir=/usr/include/libxml2/libxml
--with-openssl=/usr/local/ssl --with-pear --with-zlib
--with-pgsql=/usr/local/pgsql

Expected result:
----------------
A confirmation of success prior to Make Install

Actual result:
--------------
ext/standard/.libs/dns.o: In function `php_parserr':
/tmp/Software/php5.3-200907271630/ext/standard/dns.c:389: undefined
reference to `__dn_expand'
/tmp/Software/php5.3-200907271630/ext/standard/dns.c:439: undefined
reference to `__dn_expand'
/tmp/Software/php5.3-200907271630/ext/standard/dns.c:623: undefined
reference to `__dn_expand'
/tmp/Software/php5.3-200907271630/ext/standard/dns.c:645: undefined
reference to `__dn_expand'
/tmp/Software/php5.3-200907271630/ext/standard/dns.c:484: undefined
reference to `__dn_expand'
ext/standard/.libs/dns.o:/tmp/Software/php5.3-200907271630/ext/standard/dns.c:490:
more undefined references to `__dn_expand' follow
ext/standard/.libs/dns.o: In function `zif_dns_check_record':
/tmp/Software/php5.3-200907271630/ext/standard/dns.c:323: undefined
reference to `__res_search'
ext/standard/.libs/dns.o: In function `zif_dns_get_mx':
/tmp/Software/php5.3-200907271630/ext/standard/dns.c:878: undefined
reference to `__res_search'
/tmp/Software/php5.3-200907271630/ext/standard/dns.c:889: undefined
reference to `__dn_skipname'
/tmp/Software/php5.3-200907271630/ext/standard/dns.c:895: undefined
reference to `__dn_skipname'
/tmp/Software/php5.3-200907271630/ext/standard/dns.c:907: undefined
reference to `__dn_expand'
ext/standard/.libs/dns.o: In function `zif_dns_get_record':
/tmp/Software/php5.3-200907271630/ext/standard/dns.c:769: undefined
reference to `__res_nmkquery'
/tmp/Software/php5.3-200907271630/ext/standard/dns.c:777: undefined
reference to `__res_nsend'
/tmp/Software/php5.3-200907271630/ext/standard/dns.c:796: undefined
reference to `__dn_skipname'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1



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


-- 
Edit this bug report at http://bugs.php.net/?id=49078&edit=1

Reply via email to