Subject: Re: Problem building Open Office
To: Paul Goyette <paul@whooppee.com>
From: Michael Rauch <mrauch@NetBSD.org>
List: current-users
Date: 09/15/2004 10:17:43
Hi, 

On Tue, Sep 14, 2004 at 09:59:49PM -0700, Paul Goyette wrote:
> [...] Couldn't find file libgcc_s.so.1 in path
> dmake:  Error code 2, while making
> '/usr/pkgsrc/misc/openoffice/work.i386/oo_1.1.1_src/solver/645/unxbsdi2.pro/lib/libgcc_s.so.1'
> ---* TG_SLO.MK *---
> 
> I'm not sure what the problem with the printf(...) is, but I've had the
> "libgcc_s.so.1" problem before, most recently when updating apache's
> mod_ssl package.
> Where is this libgcc_s.so.1 and why isn't the package system updating
> whatever package provides it?

you should have it in /usr/lib/libgcc_s.so.1 and it's shipped with NetBSD
itself (in the "base" set), so there is no pkgsrc package providing it.

> Oh, my system is NetBSD 1.6ZH on i386 and gcc -v gives

That's the version of the kernel. Is your userland maybe older, i.e. have
you updated the kernel without updating userland? 
pkgsrc can't deal with that situation yet, and assumes that the kernel
version which can be easily retrieved from the system matches the userland.
The library was introduced at Feb 15, 2004, so if your userland is older than
this date you have to update it.


Michael