#49078 [NEW]: Make Failed sapi/cli/php Error 1
From: kdprice at baylou dot com
Operating system: CentOS 5
PHP version: 5.3SVN-2009-07-27 (snap)
PHP Bug Type: Compile Failure
Bug description: Make Failed sapi/cli/php Error 1
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 bug report at http://bugs.php.net/?id=49078&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49078&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49078&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49078&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49078&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49078&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49078&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49078&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49078&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49078&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49078&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49078&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49078&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49078&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49078&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49078&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49078&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49078&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49078&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49078&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49078&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49078&r=mysqlcfg
Thread (16 messages)
- kdprice at baylou dot com
- jani@php.net#49078 [Opn->Fbk]: Make Failed sapi/cli/php Error 1
- max at tnug dot com#49078 [Com]: Make Failed sapi/cli/php Error 1
- dipakgarg at gmail dot com#49078 [Com]: Make Failed sapi/cli/php Error 1
- php_spam at taf dot nu#49078 [Com]: Make Failed sapi/cli/php Error 1
- php_spam at taf dot nu#49078 [Com]: Make Failed sapi/cli/php Error 1
- eric-delas at wanadoo dot fr#49078 [Com]: Make Failed sapi/cli/php Error 1
- rofc at rofc dot com dot ar#49078 [Com]: Make Failed sapi/cli/php Error 1
- smileyrecords at gmail dot comBug #49078 [Com]: Make Failed sapi/cli/php Error 1
- flood at itnews-bg dot comBug #49078 [Com]: Make Failed sapi/cli/php Error 1
- flood at itnews-bg dot comBug #49078 [Com]: Make Failed sapi/cli/php Error 1
- codebudo at gmail dot comBug #49078 [Com]: Make Failed sapi/cli/php Error 1
- de at engeljournal dot comBug #49078 [Com]: Make Failed sapi/cli/php Error 1
- webmaster at tribunalqro dot gob dot mxBug #49078 [Com]: Make Failed sapi/cli/php Error 1
- nulash2010cool at gmail dot comBug #49078 [Com]: Make Failed sapi/cli/php Error 1
- nulash2010cool at gmail dot comBug #49078 [Com]: Make Failed sapi/cli/php Error 1