Re: [xml] libxml2 compile error on Solaris SPARC

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/' to check if there is an unresolved dependency?


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

ld is complaining about an undefined symbol.  I don't know what to do
about that.


>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.
>Daniel Carrera wrote:
>>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/ -lm
>>-lsocket -lnsl -R/data/local/lib
>>Undefined                       first referenced
>>symbol                             in file
>>gzdopen                             ./.libs/
>>gzread                              ./.libs/
>>deflateInit2_                       ./.libs/
>>gzopen                              ./.libs/
>>gzwrite                             ./.libs/
>>deflate                             ./.libs/
>>deflateEnd                          ./.libs/
>>crc32                               ./.libs/
>>gzclose                             ./.libs/
>>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
===-=-=--=---=---------------------------------- - - -  -    -

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