[Haskell-beginners] Problem with developing NCurses program

Aditya Manthramurthy aditya.mmy at gmail.com
Sat Mar 10 08:20:17 CET 2012


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120310/1dc0805f/attachment.htm>


More information about the Beginners mailing list