php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38774 Fails to build .so library on 4.4.4, but fine on 4.4.3 and below
Submitted: 2006-09-11 02:02 UTC Modified: 2006-09-19 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: crazedmaniac at hotmail dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.4.4 OS: Slackware 10.2
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-09-11 02:02 UTC] crazedmaniac at hotmail dot com
Description:
------------
Running configure (exact parameters below) fails to produce a .so file needed for Apache apxs.  It produces instead a .a file.  This probably means one or more of the dependant libraries build only a .a
Works fine on PHP below 4.4.3, only 4.4.4 produces this problem



Reproduce code:
---------------
./configure  --prefix=/usr --sysconfdir=/etc --enable-discard-path --with-config-file-path=/etc/apache --enable-safe-mode --with-openssl --with-mhash --enable-bcmath --with-bz2 --with-pic --enable-calendar --enable-ctype --with-gdbm --with-db3 --enable-dbase --enable-ftp --with-iconv --with-dom --with-exif --enable-exif --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png --with-gmp --enable-mbstring --with-curl=/usr --with-pcre-regex=/usr --with-mysql=/usr --with-gettext=shared,/usr --with-expat-dir=/usr --with-xml --enable-wddx --with-mm=/usr --enable-trans-sid --enable-shmop --enable-sockets --with-regex=php --enable-sysvsem --enable-sysvshm --enable-memory-limit --with-tsrm-pthreads --enable-shared --disable-debug --with-zlib=/usr --with-freetype-dir=/usr --with-pear --enable-xslt --with-xslt-sablot --disable-static --with-apxs=/usr/sbin/apxs --enable-mbstring

Expected result:
----------------
An .so library to be places in the libs/ of PHP

Actual result:
--------------
# make install
Installing PHP SAPI module:       apache
[activating module `php4' in /etc/apache/httpd.conf]
cp libs/libphp4.so /usr/libexec/apache/libphp4.so
cp: cannot stat `libs/libphp4.so': No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-11 07:37 UTC] tony2001@php.net
Can't reproduce.
 [2006-09-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2006-10-03 09:42 UTC] petter dot neumann at gmail dot com
I get excactely the same error on opensuse 10.1 when tying to compile php 4.4.4

thinkpad:/usr/local/src/php-4.4.4 # make install
Installing PHP SAPI module:       apache
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
cp: cannot stat `libs/libphp4.so': No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1
thinkpad:/usr/local/src/php-4.4.4 #
 [2006-10-03 09:47 UTC] petter dot neumann at gmail dot com
reproduce code (opensuse 10.1):

./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --with-mysql --enable-memory-limit --enable-mbstring --with-ttf --with-gd --with-jpeg-dir --enable-gd-native-ttf --with-png-dir --with-freetype-dir --with-zlib --with-dom --enable-exif
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 15 21:01:28 2024 UTC