#39697 [Com]: apxs:Error: Command failed with rc=65536

From: Date: Sun, 03 Dec 2006 16:01:20 +0000
Subject: #39697 [Com]: apxs:Error: Command failed with rc=65536
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-105822@lists.php.net to get a copy of this message
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: also, no real hiccups in config or make that I saw. Previous Comments: ------------------------------------------------------------------------ [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] tony2001@php.net 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. [root@localhost 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 ------------------------------------------------------------------------ [2006-12-01 13:15:55] tony2001@php.net There are no such options: --with-zlibdir –with-gd Please try with ./configure --disable-all --with-apxs2=/www/bin/apxs ------------------------------------------------------------------------ [2006-12-01 13:09:57] michael dot v dot kells at uscg dot mil I am sorry I do have ld loaded and the version is 2.15.92.0.2 ------------------------------------------------------------------------ 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

« previous php.bugs (#105822) next »