php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31461 No libphp5.so created and no errors produced
Submitted: 2005-01-09 23:00 UTC Modified: 2005-01-10 14:33 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: hendlerman at yahoo dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.0.3 OS: Red Hat 9
Private report: No CVE-ID: None
 [2005-01-09 23:00 UTC] hendlerman at yahoo dot com
Description:
------------
No libphp5.so created and no errors produced

I'm trying to find which --with[-*] in the configure causes the build to fail because I get no warnings. 












Reproduce code:
---------------
compiled from source
httpd-2.0.52  
./configure --enable-so
confirmed location of apxs
First did a simple and successful ./configure make and make install
./configure --with-apxs2=/usr/local/apache2/bin/apxs 2> errors.txt

./configure --with-apsx2="/usr/local/apache2/bin/apxs" --with-mysql --with-ldap --with-zlib --enable-magic-quotes   --with-mhash --enable-calendar --enable-sockets  --with-ncurses  --enable-dio  --with-openssl  --with-xmlrpc --enable-wddx  --enable-soap  2> ../php_configure_errors.txt 
tried the above also with --with-xsl
make clean
make 2> ../make_php_errors.txt
make install 2> ../make_install_php_errors.txt

Expected result:
----------------
I would expect the simple install to produce no errors because it generated the phplib5.so, and the more inclusive ./configure to give me errors - as it did not produce a phplib5.so

Actual result:
--------------
when I did a simple make and make install from the simple configure
make produced in the 
/root/installPHP/php-5.0.3/main/php_sprintf.c: In function `php_sprintf':
/root/installPHP/php-5.0.3/main/php_sprintf.c:40: warning: assignment makes pointer from integer without a cast

make install produced
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
libtool: install: warning: remember to run `libtool --finish /root/installPHP/php-5.0.3/libs'
chmod 755 /usr/local/apache2/modules/libphp5.so
[activating module `php5' in /usr/local/apache2/conf/httpd.conf]



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-10 02:14 UTC] sniper@php.net
libphp5.so is 'generated' by 'make install'. 

 [2005-01-10 02:16 UTC] hendlerman at yahoo dot com
not sure why you are mentioning that - 
note the code below
make install 2> ../make_install_php_errors.txt
 [2005-01-10 02:27 UTC] hendlerman at yahoo dot com
might this happen if the xml2 library is too new for redhat 9?
I had libxml2-2.6.16-1.i386.rpm
 [2005-01-10 03:09 UTC] hendlerman at yahoo dot com
I was able to reproduce the bug with a clean install of the os and the httpd from an rpm.

Everythin was gotten from up2date except the libxml2 and libxslt-devel and mysql 4.1-devel

[root@localhost php-5.0.3]# locate libphp5                
/root/php-5.0.3/sapi/apache/libphp5.module.in             
/root/php-5.0.3/sapi/apache_hooks/libphp5.module.in       

                              
kernel-2.4.20-8                                           

        
libxml2-devel-2.6.16-1                                    
perl-libxml-perl-0.07-28                                  
libxml2-2.6.16-1                                          
libxml-devel-1.8.17-8                                     
perl-libxml-enno-1.02-29                                  
libxml-1.8.17-8                                           
libxml2-python-2.6.16-1                                   

      
libxslt-1.0.27-3                                          
libxslt-devel-1.0.27-3                                    

[root@localhost php-5.0.3]# ./configure --with-apsx2="/usr/sbin/apxs" --with-xsl --with-mysql  --with-ldap  --with-xmlrpc    --enable-dio --enable-magic-quote --enable-calendar --enable-sockets --with-zlib --with-openssl --enable-wddx  
-enable-soap   2> ../php_configure_errors.txt                                  

no error messages (return2) I could find there OR in the make or make install
:(
 [2005-01-10 03:20 UTC] hendlerman at yahoo dot com
this is the file I am using
http://us3.php.net/get/php-5.0.3.tar.gz/from/this/mirror
 [2005-01-10 03:51 UTC] hendlerman at yahoo dot com
I tried the same on 5.02 source - same problem.
 [2005-01-10 04:21 UTC] hendlerman at yahoo dot com
found this potential solution 
http://www.fedoraforum.org/forum/archive/index.php/t-23665.html
but it didn't work for me 
I don't have the file  libintl.so and the only rpms I could find are for mandrake
 [2005-01-10 14:33 UTC] sniper@php.net
..chmod 755 /usr/local/apache2/modules/libphp5.so
[activating module `php5' in /usr/local/apache2/conf/httpd.conf]..

IT _IS_ installed.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 16:01:36 2025 UTC