ldd /usr/lib/ghc-6.2.1/ghc-6.2.1 linux-gate.so.1 => (0xffffe000) libreadline.so.4 => /lib/libreadline.so.4 (0x4254f000) libncurses.so.5 => /lib/libncurses.so.5 (0x41bc8000) etc... So ghc's default build depends on readline (specifically the readline package depends on readline), but this is not mentioned in the ebuild. It also seems to depend on libncurses which I didn't realise. I'm not quite sure why. BTW I've got ebuilds for DrIFT, hs-plugins & buddha in the pipeline, I should submit them as three seperate bugs right?
Created attachment 43245 [details, diff] ghc-6.2.2.ebuild.patch patch to add readline as ghc dependency
I've added the dependency to ghc-6.2.2.ebuild, along with some other changes. If you have time, please remerge the ebuild to test it. It now also uses ghc-package.eclass, and calls the reregister method, so your installed libraries should remain available. Closing.