Ian Lynagh igloo at
Wed Oct 29 09:22:36 EDT 2008

Hi Paul,

On Mon, Oct 27, 2008 at 03:29:20PM -0400, Paul Jarc wrote:
> Ian Lynagh <igloo at> wrote:
> > On Wed, Oct 08, 2008 at 06:04:31PM -0400, Paul Jarc wrote:
> >> With all that, the first problem I hit was with utils/pwd/pwd.
> >> ./configure builds it by calling ghc without any special flags, so the
> >> binary can't find at runtime.
> >
> > I think you need to tell the dynamic linker where to find it, e.g. by
> > setting DYLD_LIBRARY_PATH. See the dyld manpage for more information.
> I'm on GNU/Linux, so it would be LD_LIBRARY_PATH for me.

Oh, sorry, for some reason I had it in my head that you were on OS X.

> Yes, that
> would be another useable workaround for pwd.  What about the other
> problems I mentioned?

I thought all your problems boiled down to binaries not being able to
find at runtime? So I think this should fix them all.

The build system assumes that the bootstrapping compiler knows how to
build Haskell programs that can just be run.

> Regardless of my problems, it seems like a
> build bug that SRC_HC_OPTS isn't used for some compilations.  Is
> SRC_HC_OPTS meant to be used for all Haskell compilations in the build
> process, or am I misunderstanding its purpose?

You are probably right that it should technically be passed.


More information about the Glasgow-haskell-users mailing list