ID:               39197
 User updated by:  lzsiga at freemail dot c3 dot hu
 Reported By:      lzsiga at freemail dot c3 dot hu
 Status:           Open
 Bug Type:         *Compile Issues
 Operating System: AIX
 PHP Version:      5.1.6
 New Comment:

Let me summarize the problem in three steps:

When compiling PHP5 on AIX:

1. If you want to get dynamically loadable shared object (generally
this is your first goal) do not use GNU-ld.
The default AIX linker will give you the AIX-compliant 'libphp5.so'
within 'libphp5.a'.

2. If you want to get standalone executable (generally this is your
second goal) you have to edit one of the files 'Makefile', 'configure'
or 'sapi/cli/config.m4' as described in bug #39187.

3. If you are using such an exotic platform then Prepare for trouble
(And make it double).

Now will someone please close this bug.


Previous Comments:
------------------------------------------------------------------------

[2006-10-20 10:09:22] lzsiga at freemail dot c3 dot hu

Very well, I was blind enough to miss this part of the output of
./configure:

checking whether the gcc linker (/usr/local/bin/gld) supports shared
libraries..
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
*** to be unable to reliably create shared libraries on AIX.
*** Therefore, libtool is disabling shared libraries support.  If you
*** really care for shared libraries, you may want to modify your PATH
*** so that a non-GNU linker is found, and then restart.

no
checking dynamic linker characteristics... aix5.2.0.0 ld.so
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes

------------------------------------------------------------------------

[2006-10-19 14:51:49] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




------------------------------------------------------------------------

[2006-10-19 13:09:02] lzsiga at freemail dot c3 dot hu

Description:
------------
Some of us are really quick-handed closing bug-reports as 'bogus', but
I still have a problem with PHP-5.1.6 compilation on AIX-5.2:
Even specifing both --enable-shared and --disable-static is not enough
to create a shared object (libphp5.so).
For some strange reason the problem occures only when I set environment
variable LD to the GNU-ld.




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39197&edit=1

Reply via email to