From:             dimitry at bintime dot com
Operating system: SuSE Linux 9.2 (x86-64)
PHP version:      4.4.7
PHP Bug Type:     *Compile Issues
Bug description:  Cannot install apache SO

Description:
------------
libphp4.so is not created in apache modules directory.
Instead .la/.a files are there:

www:/usr/local/src/php-4.4.7 # ll /usr/local/apache2/modules/ | grep php
-rw-r--r--   1 root root 11083872 May  7 17:15 libphp4.a
-rw-r--r--   1 root root     1244 May  7 17:15 libphp4.la



Reproduce code:
---------------
Configure string:

./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/local/mysql --with-pear --with-xml --with-xmlrpc
--with-sqlite --enable-session --enable-inline-optimization --enable-ftp
--disable-debug --prefix=/usr --with-config-file-path=/usr/local/lib 
--enable-soap --with-zlib-dir=/usr/lib64 --with-dom --with-gd=/usr/local
--with-dom-xslt --enable-xslt --with-xslt-sablot=/usr/local 
--enable-force-cgi-redirect --with-curl --with-iconv --enable-memory-limit
--with-zip=/usr/local/lib


Make is done without errors.
Output of `make install`:

www:/usr/local/src/php-4.4.7 # 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
chmod 644 /usr/local/apache2/modules/libphp4.a
ranlib /usr/local/apache2/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish
/usr/local/src/php-4.4.7/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
[activating module `php4' in /usr/local/apache2/conf/httpd.conf]
Installing PHP CLI binary:        /usr/bin/
Installing PHP CLI man page:      /usr/man/man1/
Installing PEAR environment:      /usr/lib/php/
[PEAR] Archive_Tar    - already installed: 1.3.2
[PEAR] Console_Getopt - already installed: 1.2.1
[PEAR] HTML_Template_IT- already installed: 1.1
[PEAR] Net_UserAgent_Detect- already installed: 2.0.1
[PEAR] PEAR           - already installed: 1.5.0
Warning! a PEAR user config file already exists from a previous PEAR
installation at '/root/.pearrc'. You may probably want to remove it.
Wrote PEAR system config file at: /usr/etc/pear.conf
You may want to add: /usr/lib/php to your php.ini include_path
[PEAR] Structures_Graph- already installed: 1.0.2
Installing build environment:     /usr/lib/php/build/
Installing header files:          /usr/include/php/
Installing helper programs:       /usr/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/man/man1/
  page: phpize.1
  page: php-config.1


Expected result:
----------------
libphp4.so in /usr/local/apache2/modules/


-- 
Edit bug report at http://bugs.php.net/?id=41313&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41313&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41313&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41313&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41313&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41313&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41313&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41313&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41313&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41313&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41313&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41313&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41313&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41313&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41313&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41313&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41313&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41313&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41313&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41313&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41313&r=mysqlcfg

Reply via email to