Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2019 12:37:36 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        sgk@troutmask.apl.washington.edu
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:  <692e3772-9b06-03fa-790b-73117f3c6ec8@grosbein.net>
In-Reply-To: <20190217051109.GA91424@troutmask.apl.washington.edu>
References:  <a2102b4e-7d7a-7d5b-2ba1-b9a14f8574f6@pinyon.org> <f6a45ec9-7ae4-d9ba-f71c-f2ef8c235039@grosbein.net> <20190217051109.GA91424@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
17.02.2019 12:11, Steve Kargl wrot:

>> # 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.

If binary needs specific version of libgcc_s.so.1 installed with gcc8 port/package,
then building system must use specific rpath, so rtld would not use "the first one it finds".




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?692e3772-9b06-03fa-790b-73117f3c6ec8>