It appears that this is a problem related to ghc:
https://bugzilla.redhat.com/show_bug.cgi?id=578509
I am using ghc 7.0.3 which comes with the latest Ubuntu (11.10). Would installing the latest ghc release help?
HI,
I am learning haskell by writing small programs. In this instance I want to write a program using the haskell binding of the NCurses library.
Here is the (rather simple) code:
import UI.NCurses
main = do
putStrLn "Hello World"
When I try to run it:
$ runhaskell cursesprog.hs
cursesprog.hs: <command line>: can't load .so/.DLL for: ncursesw (/usr/lib/libncursesw.so: file too short)
The file certainly exists but is only 32 bytes. I installed from Ubuntu's package manager. I am working on a 64 bit machine (if that helps).
Can someone help me fix this?
Thanks,
Aditya.