#40120 [NEW]: PHP not compiling on AMD 64
| From: | jzozaya at yahoo dot com | Date: | Sat, 13 Jan 2007 14:41:56 +0000 |
| Subject: | #40120 [NEW]: PHP not compiling on AMD 64 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-107562@lists.php.net to get a copy of this message | ||
From: jzozaya at yahoo dot com
Operating system: RH ES 4 on AMD 64
PHP version: 5.2.0
PHP Bug Type: Compile Failure
Bug description: PHP not compiling on AMD 64
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 bug report at http://bugs.php.net/?id=40120&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40120&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40120&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40120&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40120&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40120&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40120&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40120&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40120&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40120&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40120&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40120&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40120&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40120&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40120&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40120&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40120&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40120&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40120&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40120&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40120&r=mysqlcfg