Re: 4.3.0 compile error
| From: | Rasmus Lerdorf | Date: | Sat, 28 Dec 2002 14:24:39 +0000 |
| Subject: | Re: 4.3.0 compile error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129501@lists.php.net to get a copy of this message | ||
Please include your configure flags. Chances are you need to add
--with-zlib
On Sat, 28 Dec 2002, Pentothal wrote:
> I've tried to compile php 4.3.0 under RedHat 6.2 (libtool-1.4-8) and
> I got this compile error:
>
> /bin/sh libtool --silent --mode=link gcc -export-dynamic -g -O2
> -avoid-version -module [... snip ...] -lcrypt -lresolv -lm -ldl
> -lnsl -lcrypt -o sapi/cli/php ext/standard/image.lo: In function
> `php_handle_swc':
> /usr/src/php-4.3.0/ext/standard/image.c:195: undefined reference to
> `uncompress'
> /usr/src/php-4.3.0/ext/standard/image.c:217: undefined reference to
> `uncompress'
> main/SAPI.lo: In function `sapi_header_op':
> /usr/src/php-4.3.0/main/SAPI.c:526: undefined reference to
> `zlib_globals'
> main/SAPI.lo: In function `sapi_send_headers':
> /usr/src/php-4.3.0/main/SAPI.c:675: undefined reference to
> `zlib_globals'
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
>
> Any hint?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>