php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44249 build test failed
Submitted: 2008-02-26 04:10 UTC Modified: 2008-03-19 01:00 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: jthrom2 at uiuc dot edu Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.2.5 OS: Fedora 7
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-02-26 04:10 UTC] jthrom2 at uiuc dot edu
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;
    }

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-11 22:17 UTC] jani@php.net
Is this a 64 bit system? If so, check that you have all devel stuff installed and that they're 64bit too. 

This might reveal some info:
# rpm -ql zlib-devel
 [2008-03-19 01:00 UTC] 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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 23:01:31 2024 UTC