On Sat, Feb 05, 2005 at 07:03:52PM -0500, Hans Zaunere wrote:
...
> However, after downloading the php5-200502052330.tar.gz snapshot,
> things seem broken again. My ./configure starts out like this:
>
> ./configure --with-libdir=lib64 --prefix=/usr/local/php
> --with-apxs=/usr/local/apache/bin/apxs
>
> .....
>
> Which had worked fine before. However, when compiling this snapshot,
> I get the original errors during link time, such as:
>
> *** Warning: linker path does not have real file for library -lxml2.
I think this should only happen with a broken libxml2 installation. Do
you have both /usr/lib64/libxml2.la and /usr/lib64/libxml2.so? The PHP
HEAD build works fine for me still.
The version of libtool bundled with PHP is very old and doesn't
correctly support x86_64 Linux (and no doubt many other platforms); you
could try a patch like below, not sure it'll make a difference though:
Index: build/libtool.m4
===================================================================
RCS file: /repository/php-src/build/libtool.m4,v
retrieving revision 1.1
diff -u -r1.1 libtool.m4
--- build/libtool.m4 19 Jan 2005 17:52:32 -0000 1.1
+++ build/libtool.m4 7 Feb 2005 09:28:04 -0000
@@ -3393,7 +3393,7 @@
# This must be Linux ELF.
linux-gnu*)
case $host_cpu in
- alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
+ alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* |
x86_64*)
lt_cv_deplibs_check_method=pass_all ;;
*)
# glibc up to 2.1.1 does not perform some relocations on ARM
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php