[GHC] #8837: GHC 7.8.1-rc2 requires /usr/local/lib/libgmp10.10.dylib

GHC ghc-devs at haskell.org
Mon Mar 3 18:10:04 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:
------------------------------------------+--------------------------------

Comment (by awick):

 Just to get things working, I just symlinked my MacPorts copy over to
 /usr/local/lib, for now.

 Personally, I'd much prefer GHC to include an "extra" version of GMP than
 assume the right one is around on a Mac. From my point of view, either
 using a statically linked set of binaries or just including a copy of
 libgmp.10.dylib are equally fine.

 Ideally, it'd be nifty if the installer did a check for a local version.
 If there was one, it'd point the installed binaries to that. If not, then
 it'd have a spare copy it could install for GHC. But I don't know how hard
 that redirection would be, and for now, I suspect just always including
 GMP would be easier.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8837#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list