[Haskell-cafe] trouble using the aeson package

2011-08-06 Thread anonymous
I recently installed the aeson package using cabal-install without any
trouble:
❲~❳ uname -rspi; cabal -V; ghc -V; ghc-pkg list | grep
aeson\|double-conversion
Linux 2.6.38-10-generic x86_64 x86_64
cabal-install version 0.10.2
using version 1.10.1.0 of the Cabal library
The Glorious Glasgow Haskell Compilation System, version 7.0.3
aeson-0.3.2.9
double-conversion-0.2.0.1

However when I try to use it I receive this error message:
λ let f = Data.Aeson.String
Loading package double-conversion-0.2.0.1 ... can't load .so/.DLL for:
stdc++ (libstdc++.so: cannot open shared object file: No such file or
directory)


This is the version I have installed:
❲~❳ aptitude search stdc++ | grep ^i
i   libstdc++6  - The GNU Standard C++ Library
v3
i A libstdc++6-4.4-dev  - The GNU Standard C++ Library v3
(developme
i   libstdc++6-4.5-dev  - The GNU Standard C++ Library v3
(developme

❲~❳ aptitude show libstdc++6-4.4-dev | head -n 4
Package: libstdc++6-4.4-dev
State: installed
Automatically installed: yes
Version: 4.4.5-15ubuntu1
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] trouble using the aeson package

2011-08-06 Thread Bryan O'Sullivan
On Sat, Aug 6, 2011 at 8:55 PM, anonymous qubi...@gmail.com wrote:


 However when I try to use it I receive this error message:


Funny, I just spent some time documenting this earlier today. There are two
bugs in GHCi that cause the problem you're seeing. They're documented here,
with a workaround: https://github.com/mailrank/blaze-textual#readme
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe