From owner-freebsd-questions@FreeBSD.ORG Sun Nov 16 12:24:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A24441065677 for ; Sun, 16 Nov 2008 12:24:36 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8928FC12 for ; Sun, 16 Nov 2008 12:24:36 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA02.westchester.pa.mail.comcast.net with comcast id fnzD1a0060mv7h052oQFG8; Sun, 16 Nov 2008 12:24:15 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA11.westchester.pa.mail.comcast.net with comcast id foQa1a00E2P6wsM3XoQbZi; Sun, 16 Nov 2008 12:24:35 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=_tWED7TA-o6q-HqxPzUA:9 a=oR7wJSAwt3TNvBhbjd4A:7 a=pfr847QeXP1uGmqy9E-oPUOSCdgA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 8245333C36; Sun, 16 Nov 2008 04:24:34 -0800 (PST) Date: Sun, 16 Nov 2008 04:24:34 -0800 From: Jeremy Chadwick To: Robin Becker Message-ID: <20081116122434.GA1271@icarus.home.lan> References: <4920022D.4020102@jessikat.plus.net> <49200F5C.5070306@jessikat.plus.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49200F5C.5070306@jessikat.plus.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: gcc-4.3.3 problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2008 12:24:36 -0000 On Sun, Nov 16, 2008 at 12:17:32PM +0000, Robin Becker wrote: > Robin Becker wrote: >> I'm trying to run some benchmarks for a modified version of Python >> 2.5.2, unfortunately the modification requires a newer version of GCC >> so I have installed gcc version 4.3.3 from ports. >> >> When I try to run my make command I'm seeing this error >> >> *** WARNING: renaming "_codecs_hk" since importing it failed: Shared >> object "libgcc_s.so.1" >> >> I see that the gcc 4.3.3 libs were installed in >> /usr/local/lib/gcc-4.3.3 and I can get things to work by setting up the >> appropriate -L option and LD_LIBRARY_PATH. >> >> Is there some way to make these libraries available without this? > I think this is just a question of adding /usr/local/lib/gcc-4.3.3 to > the ldconfig hints. At least when I ran > > ldconfig -R /usr/local/lib/gcc-4.3.3 > > things improved. The ports framework has support to do this automatically, so the question is why it didn't happen. Could you file a PR on the matter? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |