[xml] Building shared libxml2 with Sun Studio 8



I'm having a problem getting libxml2-2.6.23 to build correctly using the Sun Studio 8(cc) tools. My builds on 
win32(msvc), HP-UX 11.0(cc) and Linux(gcc) have no problem (GNU make 3.79.1). I've reviewed the FAQ and 
searched the archives and bugzilla and have not found this specific problem.

On Solaris 8:

$ setenv CC cc;

$ ./configure debug=no threads=native trio=no c14n=yes ftp=no http=no html=yes catalog=no docb=no xpath=yes 
xptr=yes xinclude=yes iconv=no zlib=no xml_debug=no mem_debug=no regexps=yes schemas=yes python=no 
enable_shared=yes with_debug=no

$ make

...
cc -shared  .libs/SAX.o .libs/entities.o .libs/encoding.o .libs/error.o .libs/parserInternals.o 
.libs/parser.o .libs/tree.o .libs/hash.o .libs/list.o .libs/xmlIO.o .libs/xmlmemory.o .libs/uri.o 
.libs/valid.o .libs/xlink.o .libs/HTMLparser.o .libs/HTMLtree.o .libs/debugXML.o .libs/xpath.o 
.libs/xpointer.o .libs/xinclude.o .libs/nanohttp.o .libs/nanoftp.o .libs/DOCBparser.o .libs/catalog.o 
.libs/globals.o .libs/threads.o .libs/c14n.o .libs/xmlstring.o .libs/xmlregexp.o .libs/xmlschemas.o 
.libs/xmlschemastypes.o .libs/xmlunicode.o .libs/xmlreader.o .libs/relaxng.o .libs/dict.o .libs/SAX2.o 
.libs/xmlwriter.o .libs/legacy.o .libs/chvalid.o .libs/pattern.o .libs/xmlsave.o .libs/xmlmodule.o 
.libs/schematron.o  -ldl -lpthread -lz -lm -lsocket -lnsl -lc  -Wl,-soname -Wl,libxml2.so.2 -o 
.libs/libxml2.so.2.6.23
ld: fatal: file libxml2.so.2: open failed: No such file or directory
make[2]: *** [libxml2.la] Error 1



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