[GHC] #12200: ghc-pkg check complains about missing libCffi on dynamic-only install

GHC ghc-devs at haskell.org
Fri Jun 17 01:17:53 UTC 2016


#12200: ghc-pkg check complains about missing libCffi on dynamic-only install
-------------------------------------+-------------------------------------
           Reporter:  dudebout       |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  ghc-pkg        |           Version:  7.10.2
           Keywords:  libCffi        |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 After installing the Linux (x86_64) version of ghc 7.10.2, I removed all
 the .a files as I was interested in a dynamic libraries only install.
 Everything works fine but ghc-pkg check fails with the following error:

 cannot find any of ["libCffi.a","libCffi.p_a","libCffi-ghc7.10.2.so
 ","libCffi-ghc7.10.2.dylib","Cffi-ghc7.10.2.dll"] on library path

 Adding a symbolic link from lib/ghc-7.10.2/rts/libffi.so to
 lib/ghc-7.10.2/rts/libCffi-ghc7.10.2.so silences that warning. I am not
 sure that this is the correct way to handle this.

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


More information about the ghc-tickets mailing list