Re: [xml] Problems compiling libxml2 on Sun Solaris 2.8 UNIX system with iconv



John Hockaday ga gov au said:
Hi,

I'm trying to compile libxml2-2.6.10 on a Sun Solaris 2.8 UNIX
system.  I
have tried the following configuration command:

/configure --prefix=/public/data/asddgate --with-iconv=/usr/local

Because iconv is in /usr/local/bin/.

The make command gives the following errors:

<snip>

rpath -Wl,/usr/local/lib
./.libs/libxml2.so: undefined reference to `gzwrite SUNW_1 1'
./.libs/libxml2.so: undefined reference to `deflateEnd SUNW_1 1'
./.libs/libxml2.so: undefined reference to `gzopen SUNW_1 1'
./.libs/libxml2.so: undefined reference to `gzrewind SUNW_1 1'
./.libs/libxml2.so: undefined reference to `crc32 SUNW_1 1'
./.libs/libxml2.so: undefined reference to `deflate SUNW_1 1'
./.libs/libxml2.so: undefined reference to `deflateInit2_ SUNW_1 1'
./.libs/libxml2.so: undefined reference to `gzread SUNW_1 1'
./.libs/libxml2.so: undefined reference to `gzclose SUNW_1 1'
./.libs/libxml2.so: undefined reference to `gzdopen SUNW_1 1'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/web/apps/asdd/libxml2-2.6.10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/web/apps/asdd/libxml2-2.6.10'
make: *** [all] Error 2


Is this some sort of basic UNIX stuff that the make can't find?

Thanks.


John Hockaday
Geoscience Australia
GPO Box 378
Canberra ACT 2601
(02) 6249 9735
http://www.ga.gov.au/
john hockaday ga gov au

This is saying that you have configured libxml2 with the compression
library, but the linker can't find it.  You can either re-run
configure with the "--without-zlib" switch, or specify (like you did
for iconv) where the library is located with "with-zlib=xxxx".

HTH

Bill




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