php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31234 apxs:Error: Command failed with rc=65536
Submitted: 2004-12-21 23:37 UTC Modified: 2004-12-22 05:40 UTC
From: junk at fishgills dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.0.3 OS: Fedora 3 X86_64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: junk at fishgills dot net
New email:
PHP Version: OS:

 

 [2004-12-21 23:37 UTC] junk at fishgills dot net
Description:
------------
I have searched and read all the other bug reports mentioning the same error and found all to be not very helpful. This is on a x86_64 linux distribution with x86_64 libraries of MySQL and everything else.

When I run the configure script like so:

./configure --with-apxs2=/www/bin/apxs --with-mysqli

The configure script works fine. Then during the make command, everything seems to run find except for a small warning during the linking stage:

*** Warning: This system can not link to static lib archive /usr/lib64/mysql/libmysqlclient.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** But as you try to build a module library, libtool will still create 
*** a static module, that should work as long as the dlopening application
*** is linked with the -dlopen flag to resolve symbols at runtime.

The compilation itself finishes fine. Then I run make install and get the following error:

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 /download/php-5.0.3/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 to be compiled for Apache and isntalled in the modules directory and to...well... work. ;)

Actual result:
--------------
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 /download/php-5.0.3/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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-22 05:40 UTC] junk at fishgills dot net
I just fixed it. 

Edited the libtool and added /usr/lib64 to the path. 

Sorry for anyone's time. Maybe release a 5.0.3_x86_64 patch for people? 

Thanks though, I love php!
 [2010-03-12 15:46 UTC] wreyes_robles at hotmail dot com
Hi all. The perfect bureaucrat everywhere is the man who manages to make no decisions and escape all responsibility. Help me! Could you help me find sites on the: Window coverings blinds. I found only this - <a href="http://window-covering-store.biz/">window coverings magazine</a>. Window covering, we have a case of how our country should be, how our prince should be, how requirements should pressure us, how neural home we should be using, what expedition we should have, etc. redwolfcomputerforensics from people say that the witness has a galactic certification with one aft preparation - around the ferry. Window covering, quinten has closed into a naive market. Thanks :mad:. Zero from Republic.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 10:01:30 2024 UTC