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

O. Hartmann ohartman at zedat.fu-berlin.de
Mon Nov 12 14:14:59 UTC 2012

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 

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,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20121112/8b71a3e8/attachment.sig>

More information about the freebsd-current mailing list