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

MacPorts noreply at macports.org
Sun Jul 12 23:13:51 PDT 2009


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

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 r53745 should fix this.  Turns out not to be a cabal problem, but one in
 core ghc.  A private copy of libffi is built and is expected to be linked
 in as part of the runtime.  However, the only thing which ensures that
 this library is used is a bit of light search path hackery.

 The portfile has been changed to implement the correct solution: call the
 private version of libffi something different (libHsLocalFfi) to prevent
 the name clash.

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


More information about the macports-tickets mailing list