#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 mimosa):
From what you say, it sounds like it's just a build dependency.That's
still a messy situation if so, but perhaps there's no easy way round it.
At least, the symlink is easy - but packaging rules for most distros
frown on that sort of thing.
However, when I built ghc and removed the old gmp, I ran into
trouble. Specifically, I compiled haskell-platform and xmonad and its
dependencies, and something somewhere wouldn't build properly without
"libgmp.so.3". That may or may not have anything to do with ghc itself.
If you are interested, I can go through the process again and provide
exact details. It occurs to me that because the old gmp was present
during the ghc build, it may have chosen to use that rather than
the "real" system library. Of course, it wasn't properly installed,
though - I just copied libgmp.so.3* from the gmp build directory to
/usr/lib{LIBDIRSUFFIX}.
It would probably be more informative and simplest to test directly
(just by crunching some numbers, I suppose). I've yet to learn Haskell
(looking forward to it), but if you'd care to give me a line or two to
type into ghci that should not work without gmp, I'd be delighted to
try.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7375#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs