Subject: Re: pkgsrc/Solaris: LD_LIBRARY_PATH
To: John Nemeth <jnemeth@victoria.tc.ca>
From: Tobias Nygren <tnn@NetBSD.org>
List: pkgsrc-users
Date: 08/04/2007 16:59:34
On Sat, 4 Aug 2007 05:12:21 -0700
jnemeth@victoria.tc.ca (John Nemeth) wrote:

>      I'm guessing that this compiler came from sunfreeware and it is
> what was used to compile the one in /usr/pkg/gcc3/bin/gcc.  I have seen
> this problem in the past.  Basically, the version of GCC from
> sunfreeware generates code that requires libiconv for some reason.  My
> solution was to use the sunfreeware GCC to build my own GCC.  This GCC
> required libiconv, but generated code that didn't.  So, I then used
> this GCC to rebuild itself thus creating a version of GCC that didn't
> require libiconv.  A royal pain in the neck to have to build GCC twice,
> but it works.

This is one of the reasons why I always configure my homebuilt
GCCs with --disable-nls.