"Rasmus Lerdorf" wrote:
> Please include your configure flags.
Yes, obviously - I need to sleep longer!!!!!
./configure \
--with-apxs=/usr/sbin/apxs \
--with-config-file-path=/etc/httpd/conf \
--disable-cgi \
--with-tsrm-pthreads \
--enable-trans-sid \
--enable-sysvsem \
--enable-sysvshm \
--with-zlib=shared
> Chances are you need to add
> --with-zlib
Trying right now without "shared".
> > 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