Stop! Tickets are now managed at GitHub.

Please enter new tickets, and find and edit existing tickets there:

Ticket #187 (closed defect: invalid)

Opened 6 years ago

Last modified 6 years ago

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@…


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- ... 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

Changed 6 years ago by refold

  • status changed from new to closed
  • resolution set to invalid

This looks like a GHC bug, so you should report it to GHC HQ.

This GHC ticket may be related.

Note: See TracTickets for help on using tickets.