It appears that this is a problem related to ghc:<br><br><a href="https://bugzilla.redhat.com/show_bug.cgi?id=578509">https://bugzilla.redhat.com/show_bug.cgi?id=578509</a><br><br>I am using ghc 7.0.3 which comes with the latest Ubuntu (11.10). Would installing the latest ghc release help?<br>
<br><div class="gmail_quote">On 10 March 2012 12:50, Aditya Manthramurthy <span dir="ltr">&lt;<a href="mailto:aditya.mmy@gmail.com">aditya.mmy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
HI, <br><br>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. <br><br>Here is the (rather simple) code:<br><br>import UI.NCurses<br>

<br>main = do<br>  putStrLn &quot;Hello World&quot;<br><br><br>When I try to run it:<br><br>$ runhaskell cursesprog.hs<br>cursesprog.hs: &lt;command line&gt;: can&#39;t load .so/.DLL for: ncursesw (/usr/lib/libncursesw.so: file too short)<br>

<br>The file certainly exists but is only 32 bytes. I installed from Ubuntu&#39;s package manager. I am working on a 64 bit machine (if that helps).<br><br>Can someone help me fix this?<br><br>Thanks,<br>Aditya.<br>
</blockquote></div><br>