ID: 39697 Comment by: ccohen at ntelos dot net Reported By: michael dot v dot kells at uscg dot mil Status: Feedback Bug Type: Compile Failure Operating System: Centos PHP Version: 5.2.0 New Comment:
I also have the newest version of libtool installed: ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06) Previous Comments: ------------------------------------------------------------------------ [2006-12-03 16:28:18] ccohen at ntelos dot net just tried to roll back to 5.1.4 and am now getting same problem again, from make install: /usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool' libphp5.la /usr/local/apache/modules /usr/local/apache/build/libtool --mode=install cp libphp5.la /usr/local/apache/modules/ cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la cp .libs/libphp5.a /usr/local/apache/modules/libphp5.a ranlib /usr/local/apache/modules/libphp5.a chmod 644 /usr/local/apache/modules/libphp5.a libtool: install: warning: remember to run `libtool --finish /source/php-5.1.4/libs' Warning! dlname not found in /usr/local/apache/modules/libphp5.la. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/local/apache/modules/libphp5.so chmod: cannot access `/usr/local/apache/modules/libphp5.so': No such file or directory apxs:Error: Command failed with rc=65536 ------------------------------------------------------------------------ [2006-12-03 16:01:18] ccohen at ntelos dot net also, no real hiccups in config or make that I saw. ------------------------------------------------------------------------ [2006-12-03 15:55:21] ccohen at ntelos dot net I am having the same problem on x86 RH Fedora Core. Apache 2.2.3 compiled from source and the latest snapshot of php 5.2 as of Dec. 3, 06. Fail is on make install with some similar config options to the person below including: --with-apxs2=/usr/local/apache/bin/apxs. after make this is what .libs looks like in my source dir: drwxr-sr-x 2 root 1004 4096 Dec 3 10:46 . drwxr-sr-x 18 1004 1004 4096 Dec 3 10:46 .. -rw-r--r-- 1 root 1004 19061188 Dec 3 10:46 libphp5.a lrwxrwxrwx 1 root 1004 13 Dec 3 10:46 libphp5.la -> ../libphp5.la -rw-r--r-- 1 root 1004 1391 Dec 3 10:46 libphp5.lai after make install libphp5.la and libphp5.a files do get created in /usr/local/apache/modules, but not libphp5.so. ------------------------------------------------------------------------ [2006-12-01 22:48:22] [EMAIL PROTECTED] Do you see any warnings/errors during configure or make? In php-5.2.0 please run `ls -la .libs/` and paste the output here. "/www/bin/apxs" - where does this file come from? Is it from a package or was it self-compiled? What does `/www/bin/httpd -l` show you? ------------------------------------------------------------------------ [2006-12-01 13:57:50] michael dot v dot kells at uscg dot mil I have tried what you said. I am still getting the same error code. [EMAIL PROTECTED] php-5.2.0]# make install Installing PHP SAPI module: apache2handler /www/build/instdso.sh SH_LIBTOOL='/www/build/libtool' libphp5.la /www/modules /www/build/libtool --mode=install cp libphp5.la /www/modules/ cp .libs/libphp5.lai /www/modules/libphp5.la cp .libs/libphp5.a /www/modules/libphp5.a ranlib /www/modules/libphp5.a chmod 644 /www/modules/libphp5.a libtool: install: warning: remember to run `libtool --finish /tmp/cacti_install/php-5.2.0/libs' Warning! dlname not found in /www/modules/libphp5.la. Assuming installing a .so rather than a libtool archive. chmod 755 /www/modules/libphp5.so chmod: cannot access `/www/modules/libphp5.so': No such file or directory apxs:Error: Command failed with rc=65536 . make: *** [install-sapi] Error 1 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/39697 -- Edit this bug report at http://bugs.php.net/?id=39697&edit=1