Subject: Re: pkgsrc/Solaris: LD_LIBRARY_PATH
To: John Nemeth <>
From: Tobias Nygren <>
List: pkgsrc-users
Date: 08/04/2007 16:59:34
On Sat, 4 Aug 2007 05:12:21 -0700 (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.