Skip to content

Linker error (libffi.so.5) in 6.10.2 x86-Linux binary distribution

Hello, I am running Debian Linux with the following uname(1):[[BR]] Linux 2.6.18-6-686-bigmem #1 (closed) SMP Mon Aug 18 09:58:16 UTC 2008 i686 GNU/Linux [[BR]] I downloaded the tarball "http://www.haskell.org/ghc/dist/6.10.2/ghc-6.10.2-i386-unknown-linux-libedit2.tar.bz2". After doing "configure" and "make install", I got the following output:[[BR]] <snip> Begin log </snip>[[BR]] [[BR]] =======================================================================[[BR]] Installation of ghc-6.10.2 was successful.[[BR]] To use, add /h/uhs/pkg/ghc-6.10.2/bin to your PATH.[[BR]] For documentation, see /h/uhs/pkg/ghc-6.10.2/share/doc/ghc/index.html[[BR]] =======================================================================[[BR]] haddock-2.4.2: dependency Cabal-1.6.0.3 doesn't exist (ignoring)[[BR]] haddock-2.4.2: dependency array-0.2.0.0 doesn't exist (ignoring)[[BR]] haddock-2.4.2: dependency base-4.1.0.0 doesn't exist (ignoring)[[BR]] haddock-2.4.2: dependency containers-0.2.0.1 doesn't exist (ignoring)[[BR]] haddock-2.4.2: dependency directory-1.0.0.3 doesn't exist (ignoring)[[BR]] haddock-2.4.2: dependency filepath-1.1.0.2 doesn't exist (ignoring)[[BR]] haddock-2.4.2: dependency ghc-6.10.2 doesn't exist (ignoring)[[BR]] haddock-2.4.2: dependency haskell98-1.0.1.0 doesn't exist (ignoring)[[BR]] haddock-2.4.2: dependency pretty-1.0.1.0 doesn't exist (ignoring)[[BR]] rts-1.0: include-dirs: PAPI_INCLUDE_DIR doesn't exist or isn't a directory (ignoring)[[BR]] ifBuildable/ifBuildable: error while loading shared libraries: libffi.so.5: cannot open shared object file: No such file or directory[[BR]] [... Many identical lines ...][[BR]] ifBuildable/ifBuildable: error while loading shared libraries: libffi.so.5: cannot open shared object file: No such file or directory[[BR]] ghc-6.10.2: dependency Cabal-1.6.0.3 doesn't exist (ignoring)[[BR]] ghc-6.10.2: dependency array-0.2.0.0 doesn't exist (ignoring)[[BR]] ghc-6.10.2: dependency base-4.1.0.0 doesn't exist (ignoring)[[BR]] ghc-6.10.2: dependency bytestring-0.9.1.4 doesn't exist (ignoring)[[BR]] ghc-6.10.2: dependency containers-0.2.0.1 doesn't exist (ignoring)[[BR]] ghc-6.10.2: dependency directory-1.0.0.3 doesn't exist (ignoring)[[BR]] ghc-6.10.2: dependency editline-0.2.1.0 doesn't exist (ignoring)[[BR]] ghc-6.10.2: dependency filepath-1.1.0.2 doesn't exist (ignoring)[[BR]] ghc-6.10.2: dependency haskell98-1.0.1.0 doesn't exist (ignoring)[[BR]] ghc-6.10.2: dependency hpc-0.5.0.3 doesn't exist (ignoring)[[BR]] ghc-6.10.2: dependency old-time-1.0.0.2 doesn't exist (ignoring)[[BR]] ghc-6.10.2: dependency process-1.0.1.1 doesn't exist (ignoring)[[BR]] ghc-6.10.2: dependency template-haskell-2.3.0.1 doesn't exist (ignoring)[[BR]] ghc-6.10.2: dependency unix-2.3.2.0 doesn't exist (ignoring)[[BR]] [[BR]] <snip> End log </snip>[[BR]] [[BR]] I tried to start ghci and got:[[BR]] <snip> Begin log </snip>[[BR]] [[BR]] GHCi, version 6.10.2: http://www.haskell.org/ghc/ :? for help[[BR]] ghc: panic! (the 'impossible' happened)[[BR]]

(GHC version 6.10.2 for i386-unknown-linux):[[BR]]

interactiveUI:setBuffering2[[BR]]

[[BR]] Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug[[BR]] [[BR]] <snip> End log </snip>[[BR]] [[BR]] The same process (download, configure, make, run) worked fine for the 6.10.1 x86-Linux binary distribution.

Trac metadata
Trac field Value
Version 6.10.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information