Thanks Henning. I just installed ghc 9.6.1.

When I try ghc-dynamic I get 

 $ cabal install --lib ghc-dynamic
Error: cabal: Unknown package "ghc-dynamic".

On Sun, May 14, 2023 at 4:47 PM Henning Thielemann <lemming@henning-thielemann.de> wrote:

On Sun, 14 May 2023, George Colpitts wrote:

> gets the error:
>
>       Could not find module ‘Prelude’
>
>        Perhaps you haven't installed the "p_dyn" libraries for package ‘base-4.18.0.0’?

On Debian Linux the probable cause would be that you have not installed
ghc-dynamic. Is there a package missing on your Mac installation?