ID:               21650
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: AIX 4.3.3
 PHP Version:      4.3.0
 New Comment:

I just hit this bug tonight. It appears this bug has been around in one
form or another for over a year, but I haven't seen a solid solution
yet. 

Basic bug: libphp4.la created instead of libphp4.so.

Closest solution so far:
The libphp4.so not is created by make because the libtool have a flag
set to no. The libtool is created by configure; before you launch make,
edit libtool and set build_libtool_libs=yes. After launched make, under
.libs you find libphp4.so.0:move it under libs as libphp4.so and run
make install.

This did not work for me (libphp4.so.0 file never created - .libs
directory isn't created until make install...). Maybe it will work for
you.

I will keep digging. If I find a solution, I will post it...

Research:

When I grep the Makefile for libphp4.so, I see:

libs/libphp4.bundle: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
        $(CC) $(MH_BUNDLE_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)
$(LDFLAGS) $(EXTRA_LDFLAGS) $(PHP_GLOBAL_OBJS:.lo=.o) $(PHP_SAPI_OB
JS:.lo=.o) $(PHP_FRAMEWORKS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ &&
cp $@ libs/libphp4.so

This is a hint towards the solution...


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

[2003-01-15 02:40:17] [EMAIL PROTECTED]

config :  ./configure --with-apxs=/system/www/bin/apxs
gcc version : 2.9-aix43-010414 (yep,this is compiled by IBM for rs/6000
platform)

after a successful compiling phase following error message
displayed...

---- cut here ----
Installing PHP SAPI module
[activating module `php4' in /system/www/conf/httpd.conf]
cp libs/libphp4.so /system/www/libexec/libphp4.so
cp: libs/libphp4.so: A file or directory in the path name does not
exist.
apxs:Break: Command failed with rc=1
make: 1254-004 The error code from the last command is 1.


Stop.
----- cut here ----
there are libphp4.la and libphp4.a files in libs directory.

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


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

Reply via email to