ghc-pkg check complains about missing libCffi on dynamic-only install
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.