From owner-freebsd-current@FreeBSD.ORG Mon Nov 12 14:14:59 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A5D2DD82 for ; Mon, 12 Nov 2012 14:14:59 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 564868FC0C for ; Mon, 12 Nov 2012 14:14:59 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1TXumv-002lc7-Up>; Mon, 12 Nov 2012 15:14:58 +0100 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1TXumv-0047He-SU>; Mon, 12 Nov 2012 15:14:57 +0100 Message-ID: <50A10461.8050606@zedat.fu-berlin.de> Date: Mon, 12 Nov 2012 15:14:57 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121030 Thunderbird/16.0.2 MIME-Version: 1.0 To: Steve Kargl Subject: Re: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc47/libgfortran.so.3 not found References: <50A01B95.5070904@zedat.fu-berlin.de> <20121112011908.GB89105@troutmask.apl.washington.edu> In-Reply-To: <20121112011908.GB89105@troutmask.apl.washington.edu> X-Enigmail-Version: 1.4.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig823A0F2A48391A54A3771CF6" X-Originating-IP: 130.133.86.198 Cc: Current FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2012 14:14:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig823A0F2A48391A54A3771CF6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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. >> >=20 > Add -rpath /usr/local/lib/gcc47=20 >=20 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 --------------enig823A0F2A48391A54A3771CF6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQoQRhAAoJEOgBcD7A/5N8cWwH/09yn1E9Fp5BYqmlKHVaMW+u h6POkUS52CYyVSqS185ZiVg8VKOn1QcZT8EMv2BdrxBhjpb40vuIzaNMIleDFbB1 gQjQqk8Lm+Bv6cki858sssLd+X8oVVnmJxCBUpZioNbL0Daf/IzsNSC0XI+VjQuB WUeGc1lXgjO6Z3CRBfpKvZfMUJOFcQ7kCjliorkO9ROGerKTdvzF6/qCebL6S4BF gvsLk1CCJr/q1xuG08qb2FtnY+54oMUp8K2Dj3uzSkLnj/9ChiZFhd87vZqq3Ere ztlrJeEyZKPzpPkNozGRs2WUuy+opkt+TtAoHBzBSj3TYbIHmrxl5gntAc3HtqY= =bbpp -----END PGP SIGNATURE----- --------------enig823A0F2A48391A54A3771CF6--