Hi, I have created a ticket about "Dynamic linking and libffi":
http://hackage.haskell.org/trac/ghc/ticket/7806 --Kazu >> OK, I've just pushed another attempt; can you let me know whether HEAD >> now works for you, please? > > Thanks. > >> That's expected. All the Haskell .so's should also be not found. >> That's why inplace/bin/ghc-stage2 sets LD_LIBRARY_PATH. > > I understand. > > Build finished on FreeBSD and "ghc-stage2" works: > > ---- > ./inplace/bin/ghc-stage2 --interactive > GHCi, version 7.7.20130323: http://www.haskell.org/ghc/ :? for help > Loading package ghc-prim ... linking ... done. > Loading package integer-gmp ... linking ... done. > Loading package base ... linking ... done. > Prelude> > ---- > > However, "gmake install" failed: > > ---- > Installing library in /ghc-head/lib/ghc-7.7.20130323/haskell2010-1.1.1.0 > "/ghc-head/lib/ghc-7.7.20130323/bin/ghc-pkg" --force --global-package-db > "/ghc-head/lib/ghc-7.7.20130323/package.conf.d" update > rts/package.conf.install > Shared object "libffi.so.6" not found, required by > "libHSrts-ghc7.7.20130323.so" > gmake[1]: *** [install_packages] Error 1 > gmake: *** [install] Error 2 > ---- > > The installed "ghci" says: > > ---- > % ghci > Shared object "libffi.so.6" not found, required by > "libHSrts_thr-ghc7.7.20130323.so" > ---- > > No LD_LIBRARY_PATH is found from installed scripts. > > --Kazu _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs