Re: [xml] Compile error on Solaris 2.6



On Fri, Mar 23, 2001 at 04:21:58PM +0100, Jakob Nielsen wrote:
I can't compile libxml2_2.3.5 on my Solaris 2.6. I get this error:

/bin/sh ./libtool --mode=link gcc  -g -O2 -Wall  -o libxml2.la -rpath
/usr/local/lib -version-info 5:5:3 SAX.lo entities.lo encoding.lo error.lo
parserInternals.lo parser.lo tree.lo hash.lo list.lo xmlIO.lo xmlmemory.lo
uri.lo valid.lo xlink.lo HTMLparser.lo HTMLtree.lo debugXML.lo xpath.lo
xpointer.lo xinclude.lo nanohttp.lo nanoftp.lo -lz -lm -lsocket -lnsl
rm -fr .libs/libxml2.la .libs/libxml2.* .libs/libxml2.*
/usr/ccs/bin/ld -G -h libxml2.so.2 -o .libs/libxml2.so.2.3.5  SAX.lo
entities.lo encoding.lo error.lo parserInternals.lo parser.lo tree.lo
hash.lo list.lo xmlIO.lo xmlmemory.lo uri.lo valid.lo xlink.lo HTMLparser.lo
HTMLtree.lo debugXML.lo xpath.lo xpointer.lo xinclude.lo nanohttp.lo
nanoftp.lo  -lz -lm -lsocket -lnsl -lc
ld: fatal: library -lz: not found
ld: fatal: File processing errors. No output written to
.libs/libxml2.so.2.3.5
make[1]: *** [libxml2.la] Error 1
make[1]: Leaving directory `/usr/local/libxml2-2.3.5'
make: *** [install-recursive] Error 1

What is this causes by? Help!!!

Please email me config.status and config.log. '-lz' should not have
been added. 

-- 
albert chin (china thewrittenword com)




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