[MacPorts] #19736: ghc: Library not loaded: libffi.5.dylib
MacPorts
noreply at macports.org
Sat May 23 06:15:46 PDT 2009
#19736: ghc: Library not loaded: libffi.5.dylib
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: gwright@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port: ghc
-------------------------------------+--------------------------------------
While trying to upgrade from 6.10.1_9 to 6.10.3_1, I got a Crash Reporter
dialog stating:
{{{
Link (dyld) error:
Library not loaded: /mp/lib/libffi.5.dylib
Referenced from: /mp/lib/ghc-6.10.1/hsc2hs
Reason: image not found
}}}
/mp is my MacPorts prefix.
This error shows two problems:
1. The new version of ghc is trying to use parts from the currently-
installed version of ghc to build itself. This means the software might
build differently for users who had a previous version installed vs. those
who didn't. This is bad and a port should probably never use an installed
version of itself to build a new version of itself.
2. hsc2hs was linked with libffi but ghc did not declare a dependency on
libffi. Either ghc needs to declare a dependency on libffi, or ghc needs
to not link with libffi even if it is installed.
--
Ticket URL: <http://trac.macports.org/ticket/19736>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list