Thanks Gwern!

Thus spoke Gwern Branwen:
> I forwarded Aleks email to Don. His reply follows.
> 
> On Sun, Dec 7, 2008 at 11:21 PM, Don Stewart <[EMAIL PROTECTED]> wrote:
> > This is really simple.
> >
> > Arch has started using linker scripts for some .so files (look at the
> > contents of ncurses.so - it is a linker script pointing to ncuresw.so)
> >
> > GHCi can't interpret linker scripts when loading C libraries, so it
> > fails.

OK, so it was the fifth option: it's ghc's error (not only GHCi's because the
compile fails, too.)

> > The solution is trivial: ln -s the linker script to the thing it points to.

This solution is also ugly, because it breaks the package-manager metaphor. I
shouldn't be required to directly edit anything in /usr. I'm not on Gentoo
anymore, after all. (SCNR)

> > I've not got a better workaround. We could perhaps modify the linker to
> > interpret the most common linker scripts.

I think that may be the best solution.

I will also forward this to the Arch-Haskell mailing list, as I think that's the
place where it belongs. Thanks again for taking the trouble to contact Don about
it.

Best,
Aleks

Attachment: pgpCttI8QqdfV.pgp
Description: PGP signature

Reply via email to