#39697 [Fbk-Opn]: apxs:Error: Command failed with rc=65536
ID: 39697 User updated by: michael dot v dot kells at uscg dot mil Reported By: michael dot v dot kells at uscg dot mil -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Centos PHP Version: 5.2.0 New Comment: Their are no warnings or errors when I run configure or make. [EMAIL PROTECTED] php-5.2.0]# ls -al libs/ total 8 drwxr-xr-x 2 root root 4096 Dec 1 09:58 . drwxr-xr-x 17 1002 1002 4096 Dec 1 09:58 .. /www/bin/apxs I have compiled and installed Apache prior to trying to install PHP. So apxs is a tool for building and installing extension modules for Apache. /www/bin/httpd -l [EMAIL PROTECTED] ~]# /www/bin/httpd -l Compiled in modules: core.c mod_authn_file.c mod_authn_default.c mod_authz_host.c mod_authz_groupfile.c mod_authz_user.c mod_authz_default.c mod_auth_basic.c mod_include.c mod_filter.c mod_log_config.c mod_env.c mod_setenvif.c prefork.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c mod_cgi.c mod_negotiation.c mod_dir.c mod_actions.c mod_userdir.c mod_alias.c mod_so.c Previous Comments: [2006-12-03 18:48:22] ccohen at ntelos dot net php 5.1.4 was previously installed as part of apache, not DSO/style, so it wasn't exactly a roll back :D [2006-12-03 16:54:41] [EMAIL PROTECTED] just tried to roll back to 5.1.4 and am now getting same problem again Did it work before? If yes, what has changed since then? [2006-12-03 16:33:05] ccohen at ntelos dot net 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) [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. 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=39697edit=1
#39697 [Fbk-Opn]: apxs:Error: Command failed with rc=65536
ID: 39697 User updated by: michael dot v dot kells at uscg dot mil Reported By: michael dot v dot kells at uscg dot mil -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Centos PHP Version: 5.2.0 New Comment: Here are the versions that I have loaded on Centos 4.3 kernel 2.6.9-42.0.3.EL i686. zlib-1.2.1.2-1.2, gd-2.0.28-4.4E.1, mysql-5.0.27, apache-2.2.3, autoconf-2.59-5, gcc-3.4.6-3, and I do not have ld installed on this system Previous Comments: [2006-11-30 21:41:50] [EMAIL PROTECTED] I'm unable to reproduce this. Please provide more information on the steps required to replicate and software versions used (apache, autoconf, ld, gcc and others). [2006-11-30 18:20:29] michael dot v dot kells at uscg dot mil Description: I have searched and read through all of the other bug reports mentioning this same error and found them all to be not very helpful. This is on a x86 linux distribution with x86 libraries of everything. When I run the configure script like so: ./configure --prefix=/www/php --with-apxs2=/www/bin/apxs --with-config-filepath=/www/php --enable-sockets --with-mysql=/usr/local/mysql --with-zlibdir=/usr/include with-gd The configure script works fine. The make script runs fine as well. Everything looks good until I run the make install script then I get the error: [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 Reproduce code: --- ./configure --with-apxs2=/www/bin/apxs --with-mysqli make make install Expected result: I expect PHP 5.2.0 to be to compiled with out erroe and to work well. Actual result: -- [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 -- Edit this bug report at http://bugs.php.net/?id=39697edit=1
#39697 [Opn]: apxs:Error: Command failed with rc=65536
ID: 39697 User updated by: michael dot v dot kells at uscg dot mil Reported By: michael dot v dot kells at uscg dot mil Status: Open Bug Type: Compile Failure Operating System: Centos PHP Version: 5.2.0 New Comment: I am sorry I do have ld loaded and the version is 2.15.92.0.2 Previous Comments: [2006-12-01 13:02:52] michael dot v dot kells at uscg dot mil Here are the versions that I have loaded on Centos 4.3 kernel 2.6.9-42.0.3.EL i686. zlib-1.2.1.2-1.2, gd-2.0.28-4.4E.1, mysql-5.0.27, apache-2.2.3, autoconf-2.59-5, gcc-3.4.6-3, and I do not have ld installed on this system [2006-11-30 21:41:50] [EMAIL PROTECTED] I'm unable to reproduce this. Please provide more information on the steps required to replicate and software versions used (apache, autoconf, ld, gcc and others). [2006-11-30 18:20:29] michael dot v dot kells at uscg dot mil Description: I have searched and read through all of the other bug reports mentioning this same error and found them all to be not very helpful. This is on a x86 linux distribution with x86 libraries of everything. When I run the configure script like so: ./configure --prefix=/www/php --with-apxs2=/www/bin/apxs --with-config-filepath=/www/php --enable-sockets --with-mysql=/usr/local/mysql --with-zlibdir=/usr/include with-gd The configure script works fine. The make script runs fine as well. Everything looks good until I run the make install script then I get the error: [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 Reproduce code: --- ./configure --with-apxs2=/www/bin/apxs --with-mysqli make make install Expected result: I expect PHP 5.2.0 to be to compiled with out erroe and to work well. Actual result: -- [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 -- Edit this bug report at http://bugs.php.net/?id=39697edit=1
#39697 [Fbk-Opn]: apxs:Error: Command failed with rc=65536
ID: 39697 User updated by: michael dot v dot kells at uscg dot mil Reported By: michael dot v dot kells at uscg dot mil -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Centos PHP Version: 5.2.0 New Comment: 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 Previous Comments: [2006-12-01 13:15:55] [EMAIL PROTECTED] There are no such options: --with-zlibdir #8211;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 [2006-12-01 13:02:52] michael dot v dot kells at uscg dot mil Here are the versions that I have loaded on Centos 4.3 kernel 2.6.9-42.0.3.EL i686. zlib-1.2.1.2-1.2, gd-2.0.28-4.4E.1, mysql-5.0.27, apache-2.2.3, autoconf-2.59-5, gcc-3.4.6-3, and I do not have ld installed on this system [2006-11-30 21:41:50] [EMAIL PROTECTED] I'm unable to reproduce this. Please provide more information on the steps required to replicate and software versions used (apache, autoconf, ld, gcc and others). [2006-11-30 18:20:29] michael dot v dot kells at uscg dot mil Description: I have searched and read through all of the other bug reports mentioning this same error and found them all to be not very helpful. This is on a x86 linux distribution with x86 libraries of everything. When I run the configure script like so: ./configure --prefix=/www/php --with-apxs2=/www/bin/apxs --with-config-filepath=/www/php --enable-sockets --with-mysql=/usr/local/mysql --with-zlibdir=/usr/include with-gd The configure script works fine. The make script runs fine as well. Everything looks good until I run the make install script then I get the error: [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 Reproduce code: --- ./configure --with-apxs2=/www/bin/apxs --with-mysqli make make install Expected result: I expect PHP 5.2.0 to be to compiled with out erroe and to work well. Actual result: -- [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 -- Edit this bug report at http://bugs.php.net/?id=39697edit=1
#39697 [NEW]: apxs:Error: Command failed with rc=65536
From: michael dot v dot kells at uscg dot mil Operating system: Centos PHP version: 5.2.0 PHP Bug Type: Compile Failure Bug description: apxs:Error: Command failed with rc=65536 Description: I have searched and read through all of the other bug reports mentioning this same error and found them all to be not very helpful. This is on a x86 linux distribution with x86 libraries of everything. When I run the configure script like so: ./configure --prefix=/www/php --with-apxs2=/www/bin/apxs --with-config-filepath=/www/php --enable-sockets --with-mysql=/usr/local/mysql --with-zlibdir=/usr/include with-gd The configure script works fine. The make script runs fine as well. Everything looks good until I run the make install script then I get the error: [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 Reproduce code: --- ./configure --with-apxs2=/www/bin/apxs --with-mysqli make make install Expected result: I expect PHP 5.2.0 to be to compiled with out erroe and to work well. Actual result: -- [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 -- Edit bug report at http://bugs.php.net/?id=39697edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39697r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39697r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39697r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39697r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39697r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39697r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=39697r=needscript Try newer version:http://bugs.php.net/fix.php?id=39697r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39697r=support Expected behavior:http://bugs.php.net/fix.php?id=39697r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39697r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39697r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39697r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39697r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39697r=dst IIS Stability:http://bugs.php.net/fix.php?id=39697r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39697r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39697r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39697r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=39697r=mysqlcfg