Link errors when using the GHC API

Duncan Coutts duncan.coutts at
Mon Oct 16 15:17:22 EDT 2006

On Mon, 2006-10-16 at 17:42 +0200, Bas van Dijk wrote:
> On Monday 16 October 2006 12:41, Duncan Coutts wrote:
> > This is a problem with the way we have packaged it for Gentoo. We know
> > the source of the problem and will fix it soon.
> Great, thanks.
> On Monday 16 October 2006 12:46, Clemens Fruhwirth wrote:
> > The problem is Gentoo specific. Quick dirty fix: cp
> > /usr/lib/ghc-6.6/HSCabal.o /usr/lib/Cabal-1.1.6/ghc-6.6/HSCabal-1.1.6.o
> This seems to get rid of the problem in ghci:

> But the problem remains when making for example

Yeah. That'd have a different quick fix:

cp /usr/lib/ghc-6.6/libHSCabal.a /usr/lib/Cabal-1.1.6/ghc-6.6/

because ghci uses the .o files and ghc uses the .a ones.


More information about the Glasgow-haskell-users mailing list