#51766: ghc build fails on OS X 10.6 ---------------------------+---------------------------- Reporter: borre.gaup@… | Owner: kitchen.andy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghc | ---------------------------+---------------------------- Comment (by cal@…): Error seems to be {{{ :info:build /usr/bin/ranlib: object: libraries/terminfo/dist- boot/build/libHSterminfo-0.4.0.0.a(Base.o) malformed object (unknown load command 3) }}} You could try installing the cctools port, which should provide a newer ranlib, which hopefully doesn't have the problem. I'm probably not going to attempt fixing the GHC build on 10.6, especially because (a) I don't have a 10.6 system and (b) I'm working on upgrading GHC to 8.x and would rather get that done than spending time on debugging old versions. -- Ticket URL: <https://trac.macports.org/ticket/51766#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X