ID:               38851
 Updated by:       [EMAIL PROTECTED]
 Reported By:      shorb at optonline dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: RedHat EL 4
 PHP Version:      5.1.6
 New Comment:

Please don't ever use --with-versioning.


Previous Comments:
------------------------------------------------------------------------

[2006-09-15 23:12:12] shorb at optonline dot net

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 this bug report at http://bugs.php.net/?id=38851&edit=1

Reply via email to