Re: [xml] libxml2 compile error on Solaris SPARC
- From: Stefan Kost <kost imn htwk-leipzig de>
- To: Daniel Carrera <dcarrera math umd edu>
- Cc: xml gnome org
- Subject: Re: [xml] libxml2 compile error on Solaris SPARC
- Date: Tue, 12 Nov 2002 11:39:12 +0100
Hi Daniel,
I compile libxml2 (and libxslt) under solaris 2.6 with gcc-2.95.2 and gnu-ld
since ages and never faced big problems. So can you please mail us you configure
invocation? Mine is :
./configure --with-gnu-ld --with-readline=/usr/local --with-history
And the contents of the config.log might be interesting as well (to see if some
check has failed silently).
Finally, van you use 'ldd' against './.libs/libxml2.so' to check if there is an
unresolved dependency?
Stefan
This isn't the ZLIB problem. I saw that problem under the registered
bugs. Notice that ld is giving a different error here. It is not
complaining about zlib (I tried your suggestions anyways, but they didn't
work).
ld is complaining about an undefined symbol. I don't know what to do
about that.
Daniel.
>Looks like ZLIB is missed. You may try to use --with-zlib= (specify
>the zlib path) or --without-zlib (to disable it) options for the
>./configure script.
>
>Aleksey.
>
>
>Daniel Carrera wrote:
>
>
>>Hello,
>>
>>I'm trying to compile libxml2-2.4.26 on a SPARC station
>>(sparc-sun-solaris2.8). I have already read the FAQ, the mail archives
>>and the registered bugs.
>>
>>"./compile" works fine.
>>
>>"make" produces the following error:
>>
>>gcc -g -O2 -Wall -o .libs/xmllint xmllint.o ./.libs/libxml2.so -lm
>>-lsocket -lnsl -R/data/local/lib
>>Undefined first referenced
>>symbol in file
>>gzdopen ./.libs/libxml2.so
>>gzread ./.libs/libxml2.so
>>deflateInit2_ ./.libs/libxml2.so
>>gzopen ./.libs/libxml2.so
>>gzwrite ./.libs/libxml2.so
>>deflate ./.libs/libxml2.so
>>deflateEnd ./.libs/libxml2.so
>>crc32 ./.libs/libxml2.so
>>gzclose ./.libs/libxml2.so
>>ld: fatal: Symbol referencing errors. No output written to .libs/xmllint
>>collect2: ld returned 1 exit status
--
\|/ Stefan Kost
<@ @> private business
+-oOO-(_)-OOo------------------------------------------------------ - - - - -
| __ Address Simildenstr. 5 HTWK Leipzig, Fb IMN, Postfach 300066
| /// 04277 Leipzig 04277 Leipzig
| __ /// Germany Germany
| \\\/// Phone +49341 2253538 +49341 30766101
| \__/ EMail st_kost gmx net kost imn htwk-leipzig de
| WWW www.sonicpulse.de www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - - - -
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]