cannot find -lHSrts_thr was: Re: planning for ghc-6.10.1 and
igloo at earth.li
Sat Oct 11 09:50:16 EDT 2008
On Fri, Oct 10, 2008 at 12:03:44PM -0700, Duncan Coutts wrote:
> 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-126.96.36.19981005 which I built from source. So presumably it's
> just a problem with generating the bindists.
Yup, it's a known problem in the RC bindist creation, and has since been
More information about the cabal-devel