build gd and zlib

php.internals

John Huntjens

22 years ago
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

Jani Taskinen

22 years ago
The build doesn't fail, only configure. Big difference.. Use --with-zlib-dir. --Jani On Thu, 4 Dec 2003, John Huntjens wrote: