|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14265 Make does not create Apxs fails to copy it to apache dir
Submitted: 2001-11-28 07:05 UTC Modified: 2002-08-10 09:56 UTC
From: fmal at fmal dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.0.6 OS: AIX 5.1
Private report: No CVE-ID: None
 [2001-11-28 07:05 UTC] fmal at fmal dot 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 

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 

During the make install phase i get this error :
+cd -
+ 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/ /var/opt/freeware/tmp/php-root/opt/freeware/apache/libexec/ 
cp: .libs/ 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 
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. 


Is this assertion true ? I use gcc 2.9-aix43-010216
from Aix Toolbox

Thanks in advance


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-10 09:56 UTC]
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

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.

 [2002-10-22 07:55 UTC] michael dot viorney at laposte dot net
I'm using AIX 5.1 ML2 with gcc 3.2.
I have the same problem with PHP4.3.0pre1 and php-4.2.3.
the 'make' command runs OK but do not produce the .so file.
Apache version is 1.3.27.
 [2002-10-22 08:31 UTC] michael dot viorney at laposte dot net
The make command has generated a file called in the '/php_x-x-x/.libs' directory.
I tried to rename it to '/php_x-x-x/libs/' and then to run 'make install'.
The apache module seems to install and work fine, but i'm not sure this is a correct to way to compil php.
 [2003-04-02 06:33 UTC] kapil at numen dot biz
I am installing 4.2.3 on freebsd but unable to generate

any solution
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Sep 28 08:01:25 2023 UTC