Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2019 21:11:09 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        "Russell L. Carter" <rcarter@pinyon.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: FreeCAD 0.17 && /lib//libgcc_s.so.1
Message-ID:  <20190217051109.GA91424@troutmask.apl.washington.edu>
In-Reply-To: <f6a45ec9-7ae4-d9ba-f71c-f2ef8c235039@grosbein.net>
References:  <a2102b4e-7d7a-7d5b-2ba1-b9a14f8574f6@pinyon.org> <f6a45ec9-7ae4-d9ba-f71c-f2ef8c235039@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 17, 2019 at 08:21:00AM +0700, Eugene Grosbein wrote:
> 
> I've just did "pkg install gcc8" using my FreeBSD 11.2/amd64 system and got this:
> 
> # ldd /usr/local/lib/gcc8/libgfortran.so.5
> /usr/local/lib/gcc8/libgfortran.so.5:
>         libquadmath.so.0 => /usr/local/lib/gcc8/libquadmath.so.0 (0x80146e000)
>         libz.so.6 => /lib/libz.so.6 (0x8016ad000)
>         libm.so.5 => /lib/libm.so.5 (0x8018c5000)
>         libgcc_s.so.1 => /usr/local/lib/gcc8/libgcc_s.so.1 (0x801af3000)
>         libc.so.7 => /lib/libc.so.7 (0x800823000)
> 
> So, /usr/local/lib/gcc8/libgfortran.so.5 does not depend on /lib/libgcc_s.so.1
> but on /usr/local/lib/gcc8/libgcc_s.so.1 in normal case.
> 
> I assume something is broken in your installation. Try removing gcc8 and reinstalling
> it using package.
> 

There is a problem with the order of libgcc_s.so.1
in the cache created by ldconfig.  rtld will use
the first one it finds.  If it fails, it fails.  It
does not look to see if there is a second entry.

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190217051109.GA91424>