Edit report at http://bugs.php.net/bug.php?id=31234&edit=1

 ID:               31234
 Comment by:       wreyes_robles at hotmail dot com
 Reported by:      junk at fishgills dot net
 Summary:          apxs:Error: Command failed with rc=65536
 Status:           Closed
 Type:             Bug
 Package:          Compile Failure
 Operating System: Fedora 3 X86_64
 PHP Version:      5.0.3

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2004-12-22 05:40:16] 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!

------------------------------------------------------------------------
[2004-12-21 23:37:12] 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


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=31234&edit=1

Reply via email to