hello,
i'm a newbie,
i have a problem with the compilation of php 4.0.5.
When i do the .configue ... the configure script tells me
that zlib requires zlib >= 1.0.9 ? But i have zlib 1.1.3 allready installed
on my system. libz.so (1,1.1.3) is under /usr/lib.
I don't know how to resolve this problem.
I need some help !
the debug.log contain :
CONFIGURE: './configure' '--prefix=/usr' '--with-config-file-path=/etc'
'--disable-debug' '--enable-pic' '--enable-shared'
'--enable-inline-optimization' '--with-exec-dir=/usr/bin'
'--with-regex=system' '--with-gd' '--with-jpeg-dir=/usr' '--with-zlib'
'--with-db3' '--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-track-vars' '--enable-yp' '--enable-ftp' '--enable-wddx'
'--without-mysql' '--without-oracle' '--without-oci8' '--with-xml'
'--with-ttf' '--with-sybase=/usr/local/freetds/'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend
LDFLAGS:
LIBS: -lz -lpng -lgd -ljpeg -ldb -lresolv -lm -ldl -lcrypt -lnsl
-lresolv -L/usr/lib -ljpeg
DLIBS:
SAPI: cgi
PHP_RPATHS:
uname -a: Linux serveurlinuk 2.4.2-0.1.49 #1 Sun Apr 1 15:58:50 EDT 2001
i686 unknown
gcc -o conftest -g -O2 -DSUPPORT_UTF8 conftest.c -lz -lpng -lgd -ljpeg -ldb
-lresolv -lm -ldl -lcrypt -lnsl -lresolv -L/usr/lib -ljpeg 1>&5
/usr/bin/ld: cannot find -lpng
collect2: ld returned 1 exit status
so, thank very much for you're help :-)
ps : excuse me for my bad english ;-)