
Hi Henning, I can't reproduce this error you are seeing. How are you
installing the compiler? GHC should use the in-tree libffi which is
the correct version.
https://gitlab.haskell.org/ghc/ghc/-/issues/21956#note_446298
On Thu, Jul 28, 2022 at 5:27 PM Henning Thielemann
On Fri, 22 Jul 2022, Ben Gamari wrote:
The GHC developers are happy to announce the availability of the first (and likely last) release candidate of GHC 9.4.1. Binary distributions, source distributions, and documentation are available at [downloads.haskell.org].
I try
https://downloads.haskell.org/ghc/9.4.1-rc1/ghc-9.4.0.20220721-x86_64-deb11-...
on Debian 11.
$ /usr/local/ghc-9.4.0/bin/ghc --version /usr/local/ghc-9.4.0/lib/ghc-9.4.0.20220721/bin/ghc-9.4.0.20220721: error while loading shared libraries: libffi.so.8: cannot open shared object file: No such file or directory
Debian 11 seems to support only libffi7:
$ dpkg --list "*libffi*"
ii libffi-dev:amd64 3.3-6 amd64 Foreign Function Interface library (development files) un libffi4-dev <keine> <keine> (keine Beschreibung vorhanden) ii libffi7:amd64 3.3-6 amd64 Foreign Function Interface library runtime ii libffi7:i386 3.3-6 i386 Foreign Function Interface library runtime
I think this dependency is new and was not present in the Alpha releases.
Also many directories have no read and cd permissions for 'other' users. _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.