Click to See Complete Forum and Search --> : PHP 4.3.0 upgrade problem


RobClark
12-28-2002, 08:08 AM
Howdy,

Just been trying to upgrade php 4.2.3 with 4.3.0 on Red Hat 8.0 from source (not RPM)...

Currently installed:

Apache 1.3.27 (with SSL)
MySQL 3.23.54a
PHP 4.3.0

Im using the following config..

CFLAGS='-O2 -I/usr/local/src/openssl-0.9.6g -DEAPI' \
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--enable-track-vars \
--with-xml

Configure runs fine... but when i use make i get the following error:

ext/ctype/ctype.lo : file not recognised : file truncated
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1

Any ideas?

Do i need to somehow remove all the previous PHP files?

Thanks in advance...

colbec
01-02-2003, 09:03 PM
... but was not configuring for SSl. Exact same point (ctype), exact same error message.

My problem went away after I deleted the directory created during the 'tar xvf ...' and started with a new tar xvf instruction and redoing the make and make install again.

cliffyman
01-05-2003, 05:29 PM
I also had a similar problem and re-configured, did 'make clean' and then 'make install'. Everything compiled file, but for some reason my libphp4.so isn't showing up now... maybe you'll have better luck.