[GHC] #7375: Building ghc fails because it is looking for an old version of libgmp
GHC
cvs-ghc at haskell.org
Wed Nov 7 10:58:10 CET 2012
#7375: Building ghc fails because it is looking for an old version of libgmp
----------------------------------+-----------------------------------------
Reporter: mimosa | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.4.2
Resolution: fixed | Keywords:
Os: Linux | Architecture: Unknown/Multiple
Failure: Building GHC failed | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related: 5743
----------------------------------+-----------------------------------------
Comment(by simonmar):
GHC does use the system `libgmp` when it builds. I think the problem you
are running into is that the pre-built binary distribution you are using
depends on `libgmp`, because that happens to be the gmp version on the
system it was built on. It's just a bootstrapping problem - once you have
a GHC build that doesn't depend on `libgmp.so.3`, you can start using that
for bootstrapping and then you'll be fine.
I'm fairly sure you don't need a special hack in your package, or to have
a dependency on `libgmp.so.3`. I'm not familiar with Slackware, but
that's the way it works with other distros.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7375#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list