PHP make: *** [libphp4.la] Error 1
| From: | Robert Morgan | Date: | Tue, 04 May 2004 07:08:42 +0000 |
| Subject: | PHP make: *** [libphp4.la] Error 1 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-13394@lists.php.net to get a copy of this message | ||
Hi, I'm trying to configure/install PHP as a module for apache. Have configured and installed apache for DSO and the configure for PHP goes alright...
./configure \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-mysql \
--prefix=/usr/local/apache/php \
--with-config-file-path=/usr/local/apache/php \
--enable-force-cgi-redirect \
--disable-cgi \
--with-zlib \
--with-gettext \
--with-gdbm
But when I do the make I get this error.
dl -lnsl -lcrypt -lcrypt -o libphp4.la
ext/ctype/ctype.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
[root@localhost php-4.3.6]#
I have tried many versions of both apache and PHP and get the same error.
If someone could shed some light on how to fix this I would appreciate it.
Bob