[GHC] #8837: GHC 7.8.1-rc2 requires /usr/local/lib/libgmp10.10.dylib
GHC
ghc-devs at haskell.org
Mon Mar 3 18:35:10 UTC 2014
#8837: GHC 7.8.1-rc2 requires /usr/local/lib/libgmp10.10.dylib
------------------------------------------+--------------------------------
Reporter: awick | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.8.1-rc2
Resolution: | Keywords:
Operating System: MacOS X | Architecture: x86_64
Type of failure: Installing GHC failed | (amd64)
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets:
------------------------------------------+--------------------------------
Changes (by thoughtpolice):
* cc: hvr (added)
Comment:
It's not easily possible to do it at install time because it all depends
on how GHC itself was built, not how it's going to be installed.
Theoretically you could do something I gues to change the rpath (perhaps
`nix` does this for OS X already) but that seems fragile to incorporate
right now - plus we need to ensure GHC itself does the right thing once
this is detected. It sounds like a bit of work.
I think the better thing to do would be to investigate cleaning up the in-
tree GMP build to install a `.dylib` which we can fall back on, since we
need the in-tree build for Windows and generally OS X (as it doesn't come
along). Linux is not so much of a problem.
In the mean time - I've updated the binaries for the RC2 download. They
link statically just like RC1. Do give them a go.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8837#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list