php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35750 libphp5.so not created
Submitted: 2005-12-20 18:48 UTC Modified: 2005-12-22 00:23 UTC
From: tim at or-media dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.1 OS: Fedora core 4
Private report: No CVE-ID: None
 [2005-12-20 18:48 UTC] tim at or-media dot com
Description:
------------
I have seen this in previous reports but none have helped.

After trying:
php 4.3.11
php 5.1.1
php 5.l-latest snap

It will not create libphp5.so or libphp4.so

I have also updated the libtool in fc4

Reproduce code:
---------------
 make install
Installing PHP SAPI module:       apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a
ranlib /usr/local/apache2/modules/libphp5.a
chmod 644 /usr/local/apache2/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish /home/timmy/webserver/php5.1-200512201530/libs'
Warning!  dlname not found in /usr/local/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp5.so
chmod: cannot access `/usr/local/apache2/modules/libphp5.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1


Expected result:
----------------
libphp5.so built and moved to /usr/local/apache2/modules

Actual result:
--------------
didnt build lib

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-20 19:01 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip


 [2005-12-21 12:32 UTC] tim at or-media dot com
Has i already wrote

"php 5.1-latest snap" - that did not work either.

But i now have it working. How?

I options i wanted to be includeder where:

./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-config-file-path=/etc \
--with-pspell \
--with-bz2 \
--enable-magic-quotes \
--with-zlib \
--enable-bcmath \
--enable-calendar \
--with-gd \
--with-mysql \
--with-curl \
--with-db4\
--enable-dbx \
--enable-dio \
--enable-dom \
--with-dom-xslt \
--with-dom-exslt \
--with-dom \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-filepro \
--with-jpeg-dir=/usr/lib/ \
--with-freetype-dir=/usr/lib/

plus a few more. So what i done was only configured it with ./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-config-file-path=/etc \

Then kept compiling it with a few more added options.
After i get it all working ill post the final configure
 [2005-12-22 00:23 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Dec 06 21:00:01 2025 UTC