I have located the problem i had with GHC. I had compiled the readline library from a spec file. Apparently it is not compatible with the binary GHC release. With the prebuilt readline package from sunfreeware GHC works fine now. Regards, Felix