Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14683 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23486 invoked by uid 1010); 7 Feb 2005 09:30:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 23471 invoked from network); 7 Feb 2005 09:30:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Feb 2005 09:30:21 -0000 X-Host-Fingerprint: 66.187.233.31 mx1.redhat.com Linux 2.4/2.6 Received: from ([66.187.233.31:49638] helo=mx1.redhat.com) by pb1.pair.com (ecelerity HEAD (r4105:4106)) with SMTP id 5E/96-33898-D2537024 for ; Mon, 07 Feb 2005 04:30:21 -0500 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j179UJSf004031 for ; Mon, 7 Feb 2005 04:30:19 -0500 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [172.16.18.90]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j179UDO21436 for ; Mon, 7 Feb 2005 04:30:13 -0500 Received: from radish.cambridge.redhat.com (localhost.localdomain [127.0.0.1]) by radish.cambridge.redhat.com (8.13.1/8.12.7) with ESMTP id j179UBJc030859 for ; Mon, 7 Feb 2005 09:30:12 GMT Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.13.1/8.12.10/Submit) id j179U9U7030856 for internals@lists.php.net; Mon, 7 Feb 2005 09:30:09 GMT Date: Mon, 7 Feb 2005 09:30:09 +0000 To: internals@lists.php.net Message-ID: <20050207093009.GA30513@redhat.com> Mail-Followup-To: internals@lists.php.net References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Subject: Re: [PHP-DEV] AMD64 and libdir Broken? From: jorton@redhat.com (Joe Orton) 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