ID:               31234
 User updated by:  junk at fishgills dot net
 Reported By:      junk at fishgills dot net
-Status:           Open
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: Fedora 3 X86_64
 PHP Version:      5.0.3
 New Comment:

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!


Previous Comments:
------------------------------------------------------------------------

[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/?id=31234&edit=1

Reply via email to