We help IT Professionals succeed at work.

URGENT: Need Solaris 10 SPARC libxml2-devel package

Craig Sharp
Craig Sharp asked
I am trying to find a Solaris 10 libxml2-devel package.  I am not finding anything on the net.  We have to install this software and I have tried to compile from the source but, but I am not able due to errors.  The error lines at the time of compile failure are as follows:

gmake[2]: *** [libxml2.la] Error 1
gmake[2]: Leaving directory `/tmp/libxml2-2.7.3'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/libxml2-2.7.3'
gmake: *** [all] Error 2

No other errors are present.  The configure completes successfully.

This leads me to search for a complete package.


Watch Question

Here you go:


This is a binary package.  Just download the package and then do:

  gzip -d libxml2-2.7.8-sol10-sparc-local.gz
  pkgadd -d libxml2-2.7.8-sol10-sparc-local

Solaris doesn't do devel packages in the conventional sense, but the default ones do contain the .so and .a libraries you need to build other packages against.  So if you already have this package installed, you need to tell the new program you are compiling where to find it.

If that is the case, let me know and I will show you how to do that.

Craig SharpLead Enginneer - Unix Server Team


That was the trick.  Thank you!