I recently installed the aeson package using cabal-install without any trouble:<br><span style="font-family: courier new,monospace;">❲~❳ uname -rspi; cabal -V; ghc -V; ghc-pkg list | grep &quot;aeson\|double-conversion&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Linux 2.6.38-10-generic x86_64 x86_64</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cabal-install version 0.10.2</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">using version 1.10.1.0 of the Cabal library </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">The Glorious Glasgow Haskell Compilation System, version 7.0.3</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    aeson-0.3.2.9</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    double-conversion-0.2.0.1</span><br><br>However when I try to use it I receive this error message:<br>
<span style="font-family: courier new,monospace;">λ&gt; let f = Data.Aeson.String</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Loading package double-conversion-0.2.0.1 ... can&#39;t load .so/.DLL for: stdc++ (libstdc++.so: cannot open shared object file: No such file or directory)</span><br>
<br><br>This is the version I have installed:<br><span style="font-family: courier new,monospace;">❲~❳ aptitude search stdc++ | grep ^i</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">i   libstdc++6                      - The GNU Standard C++ Library v3          </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">i A libstdc++6-4.4-dev              - The GNU Standard C++ Library v3 (developme</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">i   libstdc++6-4.5-dev              - The GNU Standard C++ Library v3 (developme</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">❲~❳ aptitude show libstdc++6-4.4-dev | head -n 4</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Package: libstdc++6-4.4-dev</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">State: installed</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Automatically installed: yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Version: 4.4.5-15ubuntu1</span><br style="font-family: courier new,monospace;"><br><br>