readline problem on OS X

Shin-Cheng Mu scm@comlab.ox.ac.uk
Thu, 10 Jul 2003 23:52:00 +0900


Thanks for the reply. :)

"Sven Panne" wrote:
> Perhaps the package dependencies are not correct for the Mac build.
> (Wolfgang?). Try adding "-package readline" to GHCi's commandline.

Hmm.. the problem still remains. But now that you mentioned it,
I noticed that the (Haskell) readline package was loaded already:

   Loading package base ... linking ... done.
   Loading package lang ... linking ... done.
   Loading package haskell98 ... linking ... done.
   Loading package concurrent ... linking ... done.
   Loading package readline ... linking ... done.
   Loading package unix ... linking ... done.
   Loading package posix ... linking ... done.
   Loading package util ... linking ...
   /usr/local/lib/ghc-6.0/HSutil.o: unknown symbol
   `___stginit_SystemziConsoleziReadline_'
   ghc-6.0: panic! (the `impossible' happened, GHC version 6.0):
           can't load package `util'

   Please report it as a compiler bug to 
glasgow-haskell-bugs@haskell.org,
   or http://sourceforge.net/projects/ghc/.

Hmm.. strange..

sincerely,
Shin-Cheng Mu