Ticket #187 (closed defect: invalid)
Haskell Platform 2011.2.0.1 GHC cannot find libstdc++.a
| Reported by: | dtrebbien | Owned by: | dons |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | GHC | Keywords: | |
| Cc: | dtrebbien@… |
Description
I attempted to compile the just-released snap-0.6 package via cabal install, but it failed in the "Loading packages" phase with:
Loading package double-conversion-0.2.0.1 ... ghc.exe: stdc++: The specified module could not be found. <command line>: can't load .so/.DLL for: stdc++ (addDLL: could not load DLL)
The double-conversion package specifies extra-libraries: stdc++. The double-conversion package compiles successfully using cabal install, but when GHC attempts to link it into an executable, GHC does not know to look in %HASKELL_PLATFORM_INSTALL_DIR%\mingw\lib\gcc\mingw32\4.5.0 for libstdc++.a.
Related tickets
* Ticket #123 (Haskell Platform 2010.1.0.0 platform does not include C++ support)
Change History
Note: See
TracTickets for help on using
tickets.
