ID: 40268
Updated by: [EMAIL PROTECTED]
Reported By: thomastja at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Aix 5.3
PHP Version: 4.4.4
New Comment:
Are you sure GNU ld was used in the build?
Do you see any error messages that might be related to the problem?
Previous Comments:
------------------------------------------------------------------------
[2007-01-30 04:26:07] thomastja at gmail dot com
I have install the GNU ld
bash-3.00# ld -version
GNU ld version 2.14 20030612
and found that it produce the same result.
------------------------------------------------------------------------
[2007-01-29 21:23:04] [EMAIL PROTECTED]
One of the possible reasons is your LD.
Try with GNU ld, please.
------------------------------------------------------------------------
[2007-01-29 11:28:16] thomastja at gmail dot com
I retry the whole setup with php-5.2.0
and got the following during the make install
Installing PHP SAPI module: apache2handler
/fpx/usr/apache/build/instdso.sh
SH_LIBTOOL='/fpx/usr/apache/build/libtool' libphp5.la
/fpx/usr/apache/modules
rm -f /fpx/usr/apache/modules/libphp5.so
/fpx/usr/apache/build/libtool --mode=install cp libphp5.la
/fpx/usr/apache/modules/
cp .libs/libphp5.a /fpx/usr/apache/modules/libphp5.a
cp .libs/libphp5.lai /fpx/usr/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/fpx/install/php/php-5.2.0/libs'
chmod 755 /fpx/usr/apache/modules/libphp5.so
chmod: /fpx/usr/apache/modules/libphp5.so: A file or directory in the
path name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.
>><<
ls of php libs return
bash-3.00# ls -al libs
total 38528
drwxr-xr-x 2 root system 256 Jan 29 19:19 .
drwxr-xr-x 18 1002 1002 4096 Jan 29 19:19 ..
-rw-r--r-- 1 root system 19717099 Jan 29 19:19 libphp5.a
-rw-r--r-- 1 root system 1429 Jan 29 19:19 libphp5.la
>><<<
It seems to me that libtool is failing to create the libphp5.so. Any
idea why ?
------------------------------------------------------------------------
[2007-01-29 11:19:18] thomastja at gmail dot com
# gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../configure --with-as=/usr/bin/as
--with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++
--prefix=/opt/freeware --enable-threads
--enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0
Thread model: aix
gcc version 4.0.0
# ld -V
ld: LD 1.64 (08/19/2003)
# /fpx/usr/apache/build/libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
Hope the info helps.
All comments are welcome.
------------------------------------------------------------------------
[2007-01-29 08:49:05] [EMAIL PROTECTED]
What compiler & linker did you use?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/40268
--
Edit this bug report at http://bugs.php.net/?id=40268&edit=1