I&#39;ve been trying to run this ( paint.hs) program ,shown below, in ghci   - but I get this error I don&#39;t know how to correct :<br><br>
Loading package wxcore-0.13.2 ... can&#39;t load .so/.DLL for: stdc++ 
(libstdc++.so: cannot open shared object file: No such file or 
directory)<br><br>
Does anyone know the fix for it? ( I got the same thing with the other sample programs for wxHaskell)<br>
---------------------------------------------------------------------------------<br>module Main where<br><br>import Graphics.UI.WXCore<br>import Graphics.UI.WX<br><br>main :: IO ()<br>main<br>  = start gui<br><br>gui :: IO ()<br>
gui<br>  = do f  &lt;- frame [text := &quot;Paint demo&quot;, fullRepaintOnResize := False]<br>       sw &lt;- scrolledWindow f [ on paint := onpaint<br>                              , virtualSize := sz 500 500, scrollRate := sz 10 10<br>
                              , fullRepaintOnResize := False]<br>       set f [clientSize := sz 150 150, layout := fill $ widget sw]<br>       return ()<br>  where<br>    onpaint dc viewArea<br>      = do circle dc (pt 200 200) 20 [penKind := PenDash DashDot]<br>
           arc dc (pt 100 100) 20 90 230 [color := red, penWidth :~ (+1), penKind := PenSolid]<br>           ellipticArc dc (rect  (pt 20  20) (sz 60 30)) 90 230 [color := blue, penWidth :~ (*2)]<br>           c &lt;- get dc color<br>
           -- set dc [font := fontDefault{ fontFace = &quot;Courier New&quot;, fontSize = 16, fontWeight = WeightBold }]<br>           set dc [fontFace := &quot;Courier New&quot;, fontSize := 16, fontWeight := WeightBold ]<br>
           drawText dc (show c) (pt 50 50) []<br>           rotatedText dc &quot;rotated text&quot; (pt 80 160) 45 [textColor := green]<br>----------------------------------<br><br><br>