[GHC] #7315: Link error while compiling executables
GHC
cvs-ghc at haskell.org
Tue Oct 9 20:34:02 CEST 2012
#7315: Link error while compiling executables
-------------------------------+--------------------------------------------
Reporter: bgamari | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.7
Resolution: fixed | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
-------------------------------+--------------------------------------------
Changes (by igloo):
* status: new => closed
* resolution: => fixed
Comment:
Ah, your GHC defaults to using dynamic libraries, but the cabal you have
doesn't know that, so it isn't building the dynamic library of the
program's dependencies. If you use the `--enable-shared` flag to cabal
then it should work. Alternatively, building cabal against the HEAD Cabal
library should do so by default.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7315#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list