From owner-freebsd-questions@FreeBSD.ORG Sun Nov 16 12:17: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 6E58310656A4 for ; Sun, 16 Nov 2008 12:17:36 +0000 (UTC) (envelope-from robin@reportlab.com) Received: from pih-relay05.plus.net (pih-relay05.plus.net [212.159.14.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2B26E8FC08 for ; Sun, 16 Nov 2008 12:17:36 +0000 (UTC) (envelope-from robin@reportlab.com) Received: from [87.114.67.131] (helo=[192.168.0.3]) by pih-relay05.plus.net with esmtp (Exim) id 1L1gZJ-0001wT-8V for freebsd-questions@freebsd.org; Sun, 16 Nov 2008 12:17:34 +0000 Message-ID: <49200F5C.5070306@jessikat.plus.net> Date: Sun, 16 Nov 2008 12:17:32 +0000 From: Robin Becker User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4920022D.4020102@jessikat.plus.net> In-Reply-To: <4920022D.4020102@jessikat.plus.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Plusnet-Relay: b1ca030c13a33ae37b7a2e834809865a 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:17:36 -0000 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. -- Robin Becker