#34089 [Com]: Configure fails build test for libxml2
| From: | alison dot rosewarne at hotmagna dot com | Date: | Thu, 24 Nov 2005 01:12:24 +0000 |
| Subject: | #34089 [Com]: Configure fails build test for libxml2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88812@lists.php.net to get a copy of this message | ||
ID: 34089
Comment by: alison dot rosewarne at hotmagna dot com
Reported By: ramsey@php.net
Status: Open
Bug Type: Compile Failure
Operating System: Mac OS X 10.4.2
PHP Version: 6CVS-2005-10-07
New Comment:
I have this problem too, but with a different environment.
OS: Ubuntu 5.10 (2.6.12-9-386)
PHP: 5.0.5
Apache: 1.3.12 (compiled from source)
Command:
$ ./configure --with-mysql \
--with-apxs=/usr/local/apache/bin/apxs
Error reported is:
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
configure: error: xml2-config not found. Please check your libxml2
installation.
The last few lines of config.log are:
configure:18440: checking whether to enable LIBXML support
configure:18487: checking libxml2 install dir
$ ls /usr/lib/libxml*
/usr/lib/libxml2.so.2 /usr/lib/libxml2.so.2.6.21
$ file /usr/lib/libxml2.so.2
libxml2.so.2: symbolic link to `libxml2.so.2.6.21'
$ file /usr/lib/libxml2.so.2.6.21
libxml2.so.2.6.21: ELF 32-bit LSB shared object, Intel 80386, version 1
(SYSV), stripped
Previous Comments:
------------------------------------------------------------------------
[2005-10-07 21:38:20] ramsey@php.net
I've just updated my checkout and tried to rebuild it. I'm still
getting the "Library not loaded" errors, though.
I don't have access to another MacOSX machine. Is there someone else
who can try to build this on their Mac to verify whether this issue can
be reproduced?
------------------------------------------------------------------------
[2005-09-16 12:31:41] sniper@php.net
Can you reproduce this on some other Macosx machine?
Can someone else reproduce this?
------------------------------------------------------------------------
[2005-09-15 23:20:58] ramsey@php.net
I grabbed the latest HEAD and I'm using the latest ICU (v3.4).
With the following config line, everything configures, makes, and make
installs just fine:
./configure --with-layout=PHP --prefix=/usr/local/php/6.0.0
--disable-all --with-icu-dir=/usr/local/icu
However, I still receive an error:
ramsey:~ ramsey$ /usr/local/php/6.0.0/bin/php -i
dyld: Library not loaded: libicui18n.dylib.34
Referenced from: /usr/local/php/6.0.0/bin/php
Reason: image not found
Trace/BPT trap
------------------------------------------------------------------------
[2005-09-13 09:54:19] sniper@php.net
Try with newer icu release and latest CVS HEAD.
------------------------------------------------------------------------
[2005-08-23 20:18:58] ramsey@php.net
I did compile icu myself. I followed Andrei's instructions to download
and build it. It compiled just fine without any problems.
Andrei's instructions are here:
http://news.php.net/php.internals/17848
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/34089
--
Edit this bug report at http://bugs.php.net/?id=34089&edit=1