#14265 [Opn->Bgs]: Make does not create php4lib.so. Apxs fails to copy it to apache dir
| From: | kalowsky@php.net | Date: | Sat, 10 Aug 2002 13:56:28 +0000 |
| Subject: | #14265 [Opn->Bgs]: Make does not create php4lib.so. Apxs fails to copy it to apache dir | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16436@lists.php.net to get a copy of this message | ||
ID: 14265
Updated by: kalowsky@php.net
Reported By: fmal@fmal.com
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: AIX 5.1
PHP Version: 4.0.6
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2001-11-28 07:05:35] fmal@fmal.com
I'm tring to build php 4.0.6 from SRPM whit apache 1.3.22
under AIX 5.1 whit Toolbox GNU utilities.
(Apache is correctly running with dso support :)
httpd -l
http_core.c
mod_so.c
I cannot create a DSO module with this configuration in
my SPEC file :
./configure \
--prefix=%{prefix} \
--disable-debug \
--enable-track-vars \
--enable-magic-quotes \
--with-apxs=/httpd/sbin/apxs \
--with-mysql=/opt/freeware \
--with-config-file-path=/etc/opt/freeware/apache \
--with-zlib \
--enable-bcmath \
--with-gd=/opt/freeware \
--with-ttf=/opt/freeware \
--with-jpeg-dir=/opt/freeware \
--with-imap=/usr1/src/imap \
--with-xml \
--with-ftp \
%if %{SSL} == 1
--with-ssl
%endif
During the make install phase i get this error :
+cd -
/opt/freeware/src/packages/BUILD/php-4.0.6
+ cp -p acconfig.h php_version.h
/var/opt/freeware/tmp/php-root/opt/freeware/include/php
+ mkdir -p /var/opt/freeware/tmp/php-root/opt/freeware/apache/libexec
+ cp .libs/libphp4.so.0
/var/opt/freeware/tmp/php-root/opt/freeware/apache/libexec/libphp4.so
cp: .libs/libphp4.so.0: No such file or directory
Bad exit status from /var/opt/freeware/tmp/rpm-tmp.30732 (%install)
In effects I don't have the library ....
I noted that in the php directory there is a file called ltconfig that
contains :
ltconfig I found :
# See if GNU ld supports shared libraries.
case "$host_os" in
aix3* | aix4*)
# On AIX, the GNU linker is very broken
ld_shlibs=no
cat <<EOF 1>&2
*** 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.
EOF
;;
Is this assertion true ? I use gcc 2.9-aix43-010216
from Aix Toolbox
Thanks in advance
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14265&edit=1