Re: Re: [xml] Compile error on Solaris 2.6
- From: "Wilson, Doug" <Doug_Wilson intuit com>
- To: "'china thewrittenword com'" <china thewrittenword com>, "'xml gnome org'" <xml gnome org>
- Subject: Re: Re: [xml] Compile error on Solaris 2.6
- Date: Thu, 4 Oct 2001 09:40:12 -0700
I'm not on the mailing list, so please CC me with any
replies...
I found this message in the archives:
http://mail.gnome.org/archives/xml/2001-March/msg00121.html
which is the exact problem I've been having, but I've found a
workaround which someone else might work into an actual patch.
The following statement fails, but I do have libz installed
(in /usr/local/lib), and I
tried to put '-L/usr/local/lib' in all the appropriate places in
the Makefile, but it still failed, because the '-L..' appeared
after the '-lz', but I found that if I put '-L/usr/local/lib'
before the '-lz' in the compile, then it would compile ok.
So I just put '-L/usr/local/lib' before every '-lz' in the makefile,
and it compiled ok.
/usr/ccs/bin/ld -G -h libxml2.so.2 -o .libs/libxml2.so.2.4.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 DOCBparser.lo
catalog.lo
-lz -L/lib -lm -lsocket -lnsl -lc
ld: fatal: library -lz: not found
ld: fatal: File processing errors. No output written to
.libs/libxml2.so.2.4.5
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]