From: jthrom2 at uiuc dot edu
Operating system: Fedora 7
PHP version: 5.2.5
PHP Bug Type: Compile Failure
Bug description: build test failed
Description:
------------
Installing PHP to use with MythWeb
Reproduce code:
---------------
./configure --with-mysql --with-apache=../apache_1.3.41
this appears down the page
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed. Please check the config.log for
details.
Actual result:
--------------
from config.log
configure:20055: gcc -o conftest -g -O2 conftest.c
-lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for
-lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
configure: failed program was:
#line 20044 "configure"
#include "confdefs.h"
char xmlInitParser();
int main() {
xmlInitParser();
return 0;
}
--
Edit bug report at http://bugs.php.net/?id=44249&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=44249&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=44249&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=44249&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44249&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=44249&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44249&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44249&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44249&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44249&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44249&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=44249&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=44249&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44249&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44249&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44249&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44249&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44249&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44249&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44249&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44249&r=mysqlcfg