> 
> -DSunOS is set by configure, and is correct for Solaris.  
> have a look at
> uname -a sometime.  There is a very fine distinction between Solaris 2
> and SunOS 5, and whilst this may have changed recently I 
> originally did
> the port to SunOS 5.7.  SunOS 5.7 is the Operating System, 
> Solaris 7 is
> the Operating Environment.  SunOS is to Solaris as Linux is to RedHat,
> (sort of, and with suitalble handwaving to cover the holes.)

uname -a does indeed yield SunOS 5.7

> 
> > 
> > - at link time and run time (and in the config.log file), I get the
> > following error:
> > 
> > /usr/local/sparc-sun-solaris2.7/bin/ld: warning: 
> libgcc_s.so.1, needed
> > by /usr/local/lib/libz.so, not found (try using -rpath or 
> -rpath-link)
> > 
> > does this imply that gcc 3.0 or greater is required?
>
> This implies that gcc 3 was used to compile libz, which 
> requires this lib.
> If libgcc_s.so.1 exists on your machine, then you can either 
> symlink it
> in somewhere useful, add its location to LD_LIBRARY_PATH, or 
> use -rpath
> to specify the search path. (If you need hints on rpath, look in the
> solaris directory in mk-solaris-package.sh.)
> If you do not have libgcc_s.so.1, then you will need to 
> compile up libz
> from source.
> 

you're correct. apparently, the current distributions of zlib and
libxml2 at sunfreeware.com have been compiled using gcc 3. upgrading to
3 solved the problem (easier than obtaining and recompiling the sources
for zlib and libxml2, which also would have worked). thanks for your
help.

Matt

Reply via email to