cannot find -lHSrts_thr was: Re: planning for ghc-6.10.1 and hackage

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Fri Oct 10 15:03:44 EDT 2008


On Fri, 2008-10-10 at 18:13 +0200, Christian Maeder wrote:
> Jean-Philippe Bernardy wrote:
> > On Thu, Oct 9, 2008 at 5:28 PM, Duncan Coutts
> > <duncan.coutts at worc.ox.ac.uk> wrote:
> >> Right, you need the darcs version of cabal-install.
> > 
> > Many packages build fine, but linking Yi fails with:
> > 
> > Linking dist/build/yi/yi ...
> > /usr/bin/ld: cannot find -lHSrts_thr
> 
> I get the same error.
> -bash-3.1$ ghc --make CASL/capa.hs -threaded
> Linking CASL/capa ...
> ld: fatal: library -lHSrts_thr: not found
> ld: fatal: File processing errors. No output written to CASL/capa
> collect2: ld returned 1 exit status
> 
> The libs exists in the built-tree but are not included in the
> "binary-dist" (and are hus not installed).

Ahh. I didn't notice at first you're both using ghc-6.10. So does that
mean it's not the fault of Cabal-1.6 then? :-) Yay!

Note that the source builds do seem to install libHSrts_thr.a. I've got
it for ghc-6.10.0.20081005 which I built from source. So presumably it's
just a problem with generating the bindists.

Duncan



More information about the cabal-devel mailing list