build failure on FreeBSD 9.1
Kazu Yamamoto ( 山本和彦 )
kazu at iij.ad.jp
Tue Apr 2 10:28:22 CEST 2013
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
More information about the ghc-devs
mailing list