Re: build gd and zlib

From: Date: Thu, 04 Dec 2003 07:41:06 +0000
Subject: Re: build gd and zlib
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-6180@lists.php.net to get a copy of this message
The build doesn't fail, only configure. Big difference.. Use --with-zlib-dir. --Jani On Thu, 4 Dec 2003, John Huntjens wrote: >Hello group, > >building with options > > --with-zlib=shared,/usr \ > --with-gd=shared \ > >fails > >configure:30085: gcc -o >conftest -g -O2 -Wl,-rpath,/usr/local/libxml/lib -L/usr/local/libxml/lib - >lz conftest.c -lpng -lresolv -lm -ldl -lnsl -lxml2 -lm -lxml2 -lm 1>&5 >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/../../../libpng.a(pngwrite.o): In >function `png_write_flush': >pngwrite.o(.text+0x115c): undefined reference to `deflate' > >while > > --with-zlib=/usr \ > --with-gd=shared \ > >suceeds. > >Gr, > >JOhn > >

« previous php.internals (#6180) next »