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

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to