[xml] Error building libxml2



I run into this error when trying to do the make after ./configure --with-zlib=/data/src/apache_src/php-4.1.2/ext/zlib --enable-ipv6=no

(cd .libs && rm -f libxml2.la && ln -s ../libxml2.la libxml2.la)
source='xmllint.c' object='xmllint.o' libtool=no \
depfile='.deps/xmllint.Po' tmpdepfile='.deps/xmllint.TPo' \
depmode=gcc /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -g -O2 -Wall -c `test -f 'xmllint.c' || echo './'`xmllint.c /bin/sh ./libtool --mode=link gcc -g -O2 -Wall -o xmllint xmllint.o ./libxml2.la -lpthread -lm gcc -g -O2 -Wall -o .libs/xmllint xmllint.o ./.libs/libxml2.so -lpthread -lm -Wl,--rpath -Wl,/usr/local/lib
./.libs/libxml2.so: undefined reference to `deflate'
./.libs/libxml2.so: undefined reference to `gzopen'
./.libs/libxml2.so: undefined reference to `crc32'
./.libs/libxml2.so: undefined reference to `gzread'
./.libs/libxml2.so: undefined reference to `deflateInit2_'
./.libs/libxml2.so: undefined reference to `gzdopen'
./.libs/libxml2.so: undefined reference to `gzclose'
./.libs/libxml2.so: undefined reference to `atexit'
./.libs/libxml2.so: undefined reference to `gzwrite'
./.libs/libxml2.so: undefined reference to `gzrewind'
./.libs/libxml2.so: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/data/test/XML/libxml2-2.6.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/test/XML/libxml2-2.6.4'
make: *** [all] Error 2


I don't have any files called deflate, gzopen, etc on my system...should I? Am I missing re-reqs?

Anne




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]