I'm having trouble getting PHP 4.3.0 to compile on my RedHat 8.0 box. I compiled both MySQL and Apache (1.3.27) without problems, then came to PHP using the following configure statement:
./configure \
--with-mysql=/usr/local/mysql/ \
--with-xml \
--with-apxs=/usr/local/apache/bin/apxs \
--enable-track-vars \
--with-java=/usr/local/j2sdk1.4.1_01/
PHP seems to configure just fine. However, when I make, I get several errors and warnings, mostly related to libtool.
(these come near the beginning)
Warning: inter-library dependencies are not known to be supported.
All declared inter-library dependencies are being dropped.
Warning: libtool could not satisfy all declared inter-library
dependencies of module libphp4. Therefore, libtool will create
a static module, that should work as long as the dlopening
application is linked with the -dlopen flag.
(here's what it says right before it dies)
ext/ctype/ctype.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
I previously tried to install PHP + Apache from a tutorial here that said to configure Apache first, then configure, make and make install PHP (using different configure options), and then finishing off Apache - apparently to build PHP into the Apache binary itself. I had issues with that and decided to just try and use the shared object way with PHP instead.
I'm stumped - ideas, anyone?
-Cliff