Skip to content

ghc doesn't find libffi.so.5 in testsuite

Running the testsuite, more or less every dyn test fails with

Wrong exit code (expected 0 , actual 127 )
Stdout:

Stderr:
./T5041: error while loading shared libraries: libffi.so.5: cannot open shared object file: No such file or directory

(some fail for other reasons before getting to that stage).

Running make TEST=whichever in the testsuite directory, all the tests I tried passed the dyn way, so it seems to be an issue with the testsuite-driver.

Trac metadata
Trac field Value
Version 7.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Test Suite
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