[xml] Build problems: libxml2 on redhad7.1



Hi,
   I found the following 'undefined referneces' when i gave a 'make'. 
Can someone pls tell me which libraries do I have to link for this? Or is it some 'configure' or Makefile 
option that I've to change?

gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include       -g -O2 -Wall -c xmllint.c
/bin/sh ./libtool --mode=link gcc  -g -O2 -Wall  -o xmllint  xmllint.o ./libxml2.la    -lm
gcc -g -O2 -Wall -o .libs/xmllint xmllint.o  ./.libs/libxml2.so -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 `gzwrite'
./.libs/libxml2.so: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status

thanks
Ganesh



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