php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43917 checking whether libxml build works... no
Submitted: 2008-01-23 07:11 UTC Modified: 2008-02-02 01:00 UTC
Votes:19
Avg. Score:4.2 ± 0.9
Reproduced:17 of 18 (94.4%)
Same Version:4 (23.5%)
Same OS:3 (17.6%)
From: lnycm at msn dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.2.5 OS: Cent OS 5.0
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-01-23 07:11 UTC] lnycm at msn dot com
Description:
------------
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.

Reproduce code:
---------------
configure:20055: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c 
          
         -lresolv -lm -ldl -lnsl  -lxml2 -lz -liconv -lm 1>&5
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-01-26 00:56 UTC] jani@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



 [2008-02-02 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".
 [2009-03-09 17:23 UTC] ua9oty at qrz dot ru
I have got a same problem with CentOS 5.2 x64 edition
Problem has been solved after zlib install with command

yum install zlib-devel

and add key --with-libdir=lib64 
in configuration line
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 19:01:32 2024 UTC