FreeCAD 0.17 && /lib//libgcc_s.so.1

Steve Kargl sgk at troutmask.apl.washington.edu
Sun Feb 17 05:11:14 UTC 2019


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


More information about the freebsd-ports mailing list