On Thu, Dec 12, 2002 at 12:09:49PM +0100, Michael van Elst wrote:
> On Thu, Dec 12, 2002, Alexander Waegner wrote:
> 
> > Can't load '/cw/lib/perl5/5.6.1/i686-linux/auto/File/Glob/Glob.so' for =
> > module File::Glob: libgcc_s.so.1: cannot open shared object file: No =
> > such file or directory at /cw/lib/perl5/5.6.1/i686-linux/XSLoader.pm =
> > line 75.=0A=
> >  at /cw/lib/perl5/5.6.1/i686-linux/File/Glob.pm line 101=0A=
> 
> [...]
> 
> libgcc_s.so.1 is missing. As far as I can see this is a library
> that belongs to the system's gcc installation and is not part
> of openpkg.

The default configuration of gcc 3.0 on Solaris will introduce a
dependency on libgcc_s.so for anything linked with -shared (e.g. perl
modules), but doesn't add an RPATH for the directory in which
libgcc_s.so is stored (e.g. /usr/local/lib), so they are broken by
default unless you set LD_LIBRARY_PATH or so on.

(you can configure it not to with produce a shared libgcc_s.so using
some flag)

The gcc packages from sunfreeware.com do this, for example; have you
checked that the OpenPKG gcc doesn't?

joe
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to