FreeBSD without system libffi: Shared object "libffi.so.6" not found
In #7806 (closed), kazu-yamamoto reported that on FreeBSD without a system libffi:
GHC can be built:
% make maintainer-clean
% perl boot
% ./configure --prefix=/ghc-head \
--with-iconv-includes=/usr/local/include \
--with-iconv-libraries=/usr/local/lib \
--with-gmp-includes=/usr/local/include \
--with-gmp-libraries=/usr/local/lib \
--with-gcc=/usr/local/bin/gcc47 \
--with-gcc-4.2=/usr/local/bin/gcc47
% gmake -j10
But installation fails:
% gmake install
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
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | high |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown/Multiple |
Architecture |