[Pkg-haskell-maintainers] Bug#635587: ghc: GHCi linker could not find libstdc++
Khudyakov Alexey
alexey.skladnoy at gmail.com
Wed Jul 27 10:38:43 UTC 2011
Package: ghc
Version: 7.0.4-4
Severity: normal
GHCi linker could not find libstdc++.so. Probably there are other
libraries which cause problems but I stumbled only into this one.
Problem appears only with GHCi if program is compiled then everything
works just fine. This is probably because GHC uses ld for linking when
compiling and IIRC its own linker in interpreted mode.
Easiest way to repoduce:
$ cabal install double-conversion
$ ghci
>>> impot Data.Double.Conversion.ByteString
>>> toFixed 3 pi
Loading package bytestring-0.9.1.10 ... linking ... done.
Loading package array-0.3.0.2 ... linking ... done.
Loading package containers-0.4.0.0 ... linking ... done.
Loading package deepseq-1.1.0.2 ... linking ... done.
Loading package text-0.11.1.3 ... linking ... done.
Loading package double-conversion-0.2.0.0 ... can't load .so/.DLL for: stdc++ (libstdc++.so: cannot open shared object file: No such file or directory)
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.0.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ghc depends on:
ii gcc 4:4.6.1-2 GNU C compiler
ii libbsd-dev 0.3.0-1 utility functions from BSD systems
ii libc6 2.13-10 Embedded GNU C Library: Shared lib
ii libc6-dev 2.13-10 Embedded GNU C Library: Developmen
ii libffi-dev 3.0.9-7 Foreign Function Interface library
ii libffi5 3.0.9-7 Foreign Function Interface library
ii libgmp-dev 2:5.0.1+dfsg-7 Multiprecision arithmetic library
ii libgmp10 2:5.0.1+dfsg-7 Multiprecision arithmetic library
ii libncurses5 5.9-1 shared libraries for terminal hand
ghc recommends no packages.
Versions of packages ghc suggests:
pn ghc-doc <none> (no description available)
ii ghc-prof 7.0.4-4 Profiling libraries for the Glasgo
pn haskell-doc <none> (no description available)
ii perl 5.12.4-1 Larry Wall's Practical Extraction
-- no debconf information
More information about the Pkg-haskell-maintainers
mailing list