Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2008 04:24:34 -0800
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Robin Becker <robin@reportlab.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: gcc-4.3.3 problem
Message-ID:  <20081116122434.GA1271@icarus.home.lan>
In-Reply-To: <49200F5C.5070306@jessikat.plus.net>
References:  <4920022D.4020102@jessikat.plus.net> <49200F5C.5070306@jessikat.plus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081116122434.GA1271>