Re: [xml] Building libxml2 on solaris



Roland Mainz wrote:
Uhm... doesn't Solaris 10 ship with libxml2 by default (Solaris 11 does
ship libxml2 and I thought we backported that to Solaris 10 long ago) ?
Possibly, but we're using a slightly modified version of libxml2, so we do need to build our own.
1. Try using -KPIC
2. Which compiler do you use ? If you use Sun Studio/Workshop/Fote make
sure you use /opt/SUNWspro/bin/cc for linking and not "ld" directly.
Try "-B dynamic". Solaris tries to avoid shipping static libraries since
some releases and even /sbin/sh is no longer statically linked.
Those all look like changes to the makefile. Should I be changing the makefile after the configure script has generated it? Or is there an option to the configure script to make it generate a makefile with those settings in it?

Thanks,
Rachael




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