[MacPorts] #19736: ghc: Library not loaded: libffi.5.dylib

MacPorts noreply at macports.org
Sun Jul 12 04:56:27 PDT 2009


#19736: ghc: Library not loaded: libffi.5.dylib
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  gwright@…           
     Type:  defect                   |      Status:  assigned            
 Priority:  Normal                   |   Milestone:                      
Component:  ports                    |     Version:  1.7.1               
 Keywords:                           |        Port:  ghc                 
-------------------------------------+--------------------------------------

Comment(by gwright@…):

 OK, this is indeed a cabal problem.  GHC includes a copy of the libffi
 source, from which it builds an archive (libffi.a) this should be
 statically linked to the binaries produced at the end of the build.
 However, if another libffi is present (e.g., /opt/local/lib/libffi.dylib),
 it seems to get linked in first.

 Can be fixed, but not pretty.

-- 
Ticket URL: <http://trac.macports.org/ticket/19736#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list