#40120 [Opn->Bgs]: PHP not compiling on AMD 64
| From: | tony2001@php.net | Date: | Mon, 15 Jan 2007 09:36:48 +0000 |
| Subject: | #40120 [Opn->Bgs]: PHP not compiling on AMD 64 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107601@lists.php.net to get a copy of this message | ||
ID: 40120
Updated by: tony2001@php.net
Reported By: jzozaya at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: RH ES 4 on AMD 64
PHP Version: 5.2.0
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2007-01-14 13:53:03] jzozaya at yahoo dot com
Thanks for the reply, however it did not work.
Altough I'm thinking if this is the same case for compiling apache ? in
the apache ./configure options I'm using
./configure --sysconfdir=/etc/httpd/conf --enable-rewrite
--libdir=/usr/lib64 --enable-so
Should I use
./configure --sysconfdir=/etc/httpd/conf --enable-rewrite
--libdir=lib64 --enable-so
------------------------------------------------------------------------
[2007-01-13 18:59:55] judas dot iscariote at gmail dot com
I compile PHP on 64 bit systems daily, and no, it does work, but your
configure line is NOT correct.
with-libdir= does NOT atke an absolute path but the replacement for
"lib" in your system that is usually, lib64
so, if you use with-libdir=lib64 it should work.
------------------------------------------------------------------------
[2007-01-13 14:41:56] jzozaya at yahoo dot com
Description:
------------
Trying to compile php v5.2 on a Red Hat ES 4 with dual amd 64, apache
went ok and works, but php failed to create the libphp5.so library.
I also try the latest 5.2 version (200701122130) and the same error.
I've found others with the same issue, but their solutions do no apply
or work for me. (example editing the ./libtool and adding /usr/lib64)
Reproduce code:
---------------
/configure --with-config-file-path=/etc
--with-apxs2=/usr/local/apache2/bin/apxs with-libdir=/usr/lib64
--enable-soap --with-mysql=/usr --with-mysqli=/usr/bin/mysql_config
--enable-ftp --enable-mbstring
Actual result:
--------------
[root@www1 php5.2-200701122130]# make install
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la
/usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la
/usr/local/apache2/modules/
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a
ranlib /usr/local/apache2/modules/libphp5.a
chmod 644 /usr/local/apache2/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish
/usr/src/php5.2-200701122130/libs'
Warning! dlname not found in /usr/local/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp5.so
chmod: cannot access `/usr/local/apache2/modules/libphp5.so': No such
file or directory
apxs:Error: Command failed with rc=65536
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40120&edit=1