gcc-4.3.3 problem

Jeremy Chadwick koitsu at FreeBSD.org
Sun Nov 16 04:24:36 PST 2008

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 |

More information about the freebsd-questions mailing list