#44087 [NEW]: Not using correct libxml
From: hz at nyphp dot com
Operating system: CentOS 4.5 x86_64
PHP version: 5.2.5
PHP Bug Type: Compile Failure
Bug description: Not using correct libxml
Description:
------------
CentOS 4.5 comes with an older version of libxml2, so I've compiled my own
version and installed to /usr/local
Then I configure PHP using:
./configure \
--with-libdir=lib64 \
--prefix=/usr/local/php \
--with-apxs=/usr/local/apache/bin/apxs \
--with-openssl \
--with-zlib \
--with-curl \
--with-mysql=/usr \
--with-mysqli=/usr/bin/mysql_config \
--disable-pdo \
--without-sqlite \
--enable-pcntl \
--with-xsl=/usr/local \
--with-libxml-dir=/usr/local
make fails with errors as in bug #39940.
When I move /usr/lib64/libxml2* to a temporary directory (and rerun
ldconfig), I get the following error during make:
...
-lxml2 -lz -lm -lcrypt -o libphp5.la
grep: /usr/lib64/libxml2.la: No such file or directory
/bin/sed: can't read /usr/lib64/libxml2.la: No such file or directory
libtool: link: `/usr/lib64/libxml2.la' is not a valid libtool archive
make: *** [libphp5.la] Error 1
So obviously PHP is not completely listening to where I told it to find
libxml2. However, during ./configure, it indicates
/usr/local/bin/xml2-config is being used.
--
Edit bug report at http://bugs.php.net/?id=44087&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=44087&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44087&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44087&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44087&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44087&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=44087&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44087&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44087&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44087&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44087&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44087&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=44087&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=44087&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44087&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=44087&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=44087&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44087&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44087&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44087&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44087&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44087&r=mysqlcfg
Thread (8 messages)
- hz at nyphp dot com