php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32844 libphp4.so not created
Submitted: 2005-04-26 18:29 UTC Modified: 2005-04-28 09:08 UTC
From: adam at adamandliz dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.11 OS: Fedora Core 2
Private report: No CVE-ID: None
 [2005-04-26 18:29 UTC] adam at adamandliz dot com
Description:
------------
Firstly, I have no problems under 4.3.9.  However 4.3.10, 4.3.11 and a recent snapshot fail.

Whenc ompiling php using standard ./configure, make, make install.  the libphp4.so file is not created.

the configure command is:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-track-vars --enable-force-cgi-redirect --with-gettext --with-mysql=/usr/local/mysql  --with-config-file-path=/usr/local/lib/php -with-imap --enable-mbstring --with-kerberos --with-imap-ssl

Before the last libtool in the make command, the following is displayed (this may well be ared herring)

*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp4.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

When doing a make install, I get (from the recent snapshot):
[root@linuxServer php4-STABLE-200504251836]# make install
Installing PHP SAPI module:       apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp4.la /usr/local/apache2/modules/
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
ranlib /usr/local/apache2/modules/libphp4.a
chmod 644 /usr/local/apache2/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish /usr/php4-STABLE-200504251836/libs'
Warning!  dlname not found in /usr/local/apache2/modules/libphp4.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp4.so
chmod: cannot access `/usr/local/apache2/modules/libphp4.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-27 12:54 UTC] sniper@php.net
Try with this configure line:

# ./configure --disable-all --with-apxs2=/usr/local/apache2/bin/apxs 

 [2005-04-27 18:17 UTC] adam at adamandliz dot com
Still no .so created, only a .a and .la

additionally, the following messages appeared in the make
using piecewise archive linking...
/usr/php-4.3.11/libtool: line 5386: test: : integer expression expected
/usr/php-4.3.11/libtool: line 5386: test: : integer expression expected
(last message repeated dozens of times)
 [2005-04-28 00:15 UTC] sniper@php.net
You did use fresh sources? And you are not doing something silly like running buildconf or autoconf or libtoolize..?

 [2005-04-28 09:04 UTC] adam at adamandliz dot com
my apologies... I had previously found advice on other pages that uses libtoolize....

Anyway, I deleted the directory and re-created from the tar (4.3.11)

the .so gets created this time.
 [2005-04-28 09:08 UTC] tony2001@php.net
No bug -> bogus.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 11:01:33 2024 UTC