Re: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc47/libgfortran.so.3 not found

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Mon, 12 Nov 2012 15:14:57 +0100
On 11/12/12 02:19, Steve Kargl wrote:
> On Sun, Nov 11, 2012 at 10:41:41PM +0100, O. Hartmann wrote:
>> I replaced lang/gcc46 by lang/gcc47, since gcc46 doesn't build anymore
>> on the FreeBSD 10.0-CURRENT in question.
>>
>> I have a small f77 program, which built well with the autotools I used
>> and ran for ages now. But I receive this error:
>>
>> /lib/libgcc_s.so.1: version GCC_4.6.0 required by
>> /usr/local/lib/gcc47/libgfortran.so.3 not found
>>
>> when compiled with gfortran47.
>>
> 
> Add -rpath /usr/local/lib/gcc47 
> 

Thanks.
I'll give it a try.
I'm a bit curious why gcc 4.6 is working, while gcc 4.7 isn't, since I
use a autotool environment (configure.ac etc.) to build the tool.

Well, I was rude in changing gcc46 to gcc47 and forgot to perform
"portupgrade -fo lang/gcc47 gcc-4.6.XXXX". Since "pkgdb -F" still
doesn't work, I can not repair the dependencies automatically. I guess,
or I suspect (but I do not really know) that a tool/libtool or similar
is still assuming gcc 4.6.

Thanks anyway,

regards,
Oliver


Received on Mon Nov 12 2012 - 13:14:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC