$ cabal install --lib ghc-dynamic
Error: cabal: Unknown package "ghc-dynamic".
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?