
#9060: `cabal` linking error with GHC 7.8.2 -----------------------------------+---------------------------------- Reporter: pseudonom | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Package system | Version: 7.8.2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 (amd64) Type of failure: Other | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -----------------------------------+---------------------------------- Comment (by rwbarton): tibbe: there are two steps involved here with different versions of cabal. First cabal 1.16 installed cabal 1.20, and as a side effect, installed text too. Since cabal 1.16 did the building, it installed a static library for text. Then cabal 1.20 tried to build a dynamic library for polyparse so it looked for a dynamic library for text. Keep the cabal 1.20 binary and blow away `~/.ghc` and then cabal 1.20 should be able to install (a dynamic library for) polyparse without any problems. Or, start the whole process with cabal 1.18 or newer. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9060#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler