Here’s the error I see when trying to load a .hs file into ghci.
>Loading package http-enumerator-0.7.1.1 ... linking ... done.
>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)
Further investigation reveals I have multiple stdc++ libraries installed
>locate libstdc++.so
>/usr/lib/libstdc++.so.6
>/usr/lib/libstdc++.so.6.0.14
>/usr/lib/gcc/x86_64-linux-gnu/4.4/libstdc++.so
>/usr/lib32/libstdc++.so.6
>/usr/lib32/libstdc++.so.6.0.14
I thought maybe I could make a symlink to what it wants, but I have no idea which one. I’m using this OS
2.6.35-22-server #33-Ubuntu SMP Sun Sep 19 20:48:58 UTC 2010 x86_64 GNU/Linux
How can I tell exactly what it wants?
The ones in
/usr/libsymlink to one file:Just run:
and it should work.