From:             shorb at optonline dot net
Operating system: RedHat EL 4
PHP version:      5.1.6
PHP Bug Type:     Compile Failure
Bug description:  Failed to created Apache 2 shared library

Description:
------------
'make install' fails because shared lib (.so is not created)
mod_so is installed on apache

[EMAIL PROTECTED] php-5.1.6]# make install
Installing PHP SAPI module:       apache2handler
/opt/httpd/build/instdso.sh SH_LIBTOOL='/opt/httpd/build/libtool'
libphp5.la /opt/httpd/modules /opt/httpd/build/libtool --mode=install cp
libphp5.la /opt/httpd/modules/ cp .libs/libphp5.lai
/opt/httpd/modules/libphp5.la cp .libs/libphp5.a
/opt/httpd/modules/libphp5.a ranlib /opt/httpd/modules/libphp5.a chmod 644
/opt/httpd/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish
/root/php-5.1.6/libs'
Warning!  dlname not found in /opt/httpd/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /opt/httpd/modules/libphp5.so
chmod: cannot access `/opt/httpd/modules/libphp5.so': No such file or
directory
apxs:Error: Command failed with rc=65536 .
make: *** [install-sapi] Error 1

The compiler log from 'make' shows this:

*** 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 libphp5.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

Reproduce code:
---------------
./configure --with-apxs2=/opt/httpd/bin/apxs --prefix=/opt/httpd/php5
--sharedstatedir=/opt/httpd/php5/com --enable-discard-path
--disable-force-cgi-redirect --disable-debug --disable-rpath
--enable-inline-optimization --enable-memory-limit
--with-config-file-path=/opt/httpd/php5/etc
--with-peardir=/opt/httpd/php5/share/pear --enable-magic-quotes
--enable-debugger --enable-track-vars --with-exec-dir=/usr/bin
--with-versioning  --with-regex=php --enable-trans-sid --enable-safe-mode
--enable-ctype --enable-ftp --with-gettext=/usr --enable-posix
--enable-session --enable-sysvsem --enable-sysvshm --enable-yp
--with-openssl=/usr --with-kerberos --with-ttf --with-freetype-dir=/usr
--with-zlib --with-mysql=/usr --with-sqlite --with-gd --with-imap
--with-imap-ssl --with-ldap --enable-bcmath --enable-calendar --with-curl
--enable-dba --with-gd --with-gmp --with-ldap --with-mcal=/usr/local
--with-mycrypt --with-mime-magic --with-ncurses --with-unixODBC
--enable-xml --with-jpeg-dir --with-zlib-dir --with-tiff-dir --with-pspell
--with-png-dir=/usr/lib --with-mysql-sock=/var/lib/mysql --with-dom
--with-mcrypt --with-iconv --enable-mbstring --with-mbstring=all


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

Reply via email to