[GHC] #7819: FreeBSD without system libffi: Shared object "libffi.so.6" not found

GHC cvs-ghc at haskell.org
Mon Apr 8 13:18:31 CEST 2013


#7819: FreeBSD without system libffi: Shared object "libffi.so.6" not found
---------------------------------+------------------------------------------
    Reporter:  igloo             |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  high              |   Milestone:  7.8.1           
   Component:  Build System      |     Version:  7.6.2           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
 In #7806, 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
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7819>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list