
After "make install", the installed GHC refers libffi in the build directory.
% otool -L ghc | grep libffi /Users/kazu/work/ghc/libffi/build/inst/lib/libffi.6.dylib (compatibility version 7.0.0, current version 7.0.0)
So, after I did "make maintainer-clean", the installed GHC could not find a libffi.
Note that I did not specify "--with-system-libffi" to "configure" in this case.
Even "--with-system-libffi" is specified, the installed GHC says: % ghc --version dyld: Library not loaded: /Users/kazu/work/ghc/libraries/transformers/dist-install/build/libHStransformers-0.3.0.0-ghc7.7.20130413.dylib Referenced from: /Users/kazu/bin/ghc-head/lib/ghc-7.7.20130413/bin/../haskeline-0.7.0.4/libHShaskeline-0.7.0.4-ghc7.7.20130413.dylib Note that both libHShaskeline and libHStransformers are certainly installed. --Kazu