[Haskell-beginners] Problem with developing NCurses program

Aditya Manthramurthy aditya.mmy at gmail.com
Sat Mar 10 08:26:53 CET 2012


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?

On 10 March 2012 12:50, Aditya Manthramurthy <aditya.mmy at gmail.com> wrote:

> 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/ab0fe23b/attachment-0001.htm>


More information about the Beginners mailing list