When I run 'slack install tetris' I get this error:
/usr/bin/ld.bfd: cannot find -lgmp: No such file or directory
collect2: error: ld returned 1 exit status
ghc-9.6.4: gcc failed in phase Linker. (Exit code: 1)
Error: [S-6374]
While building simple Setup.hs (scroll up to its section to see the error)
using:
/home/sparky/.stack/programs/x86_64-linux/ghc-tinfo6-9.6.4/bin/ghc-9.6.4 -rtsopts -threaded -clear-package-db -global-package-db -hide-all-packages -package base -main-is StackSetupShim.mainOverride -package Cabal-3.10.1.0 /home/sparky/.stack/setup-exe-src/setup-HwdwpEmb.hs /home/sparky/.stack/setup-exe-src/setup-shim-HwdwpEmb.hs -o /home/sparky/.stack/setup-exe-cache/x86_64-linux-tinfo6/tmp-Cabal-simple_HwdwpEmb_3.10.1.0_ghc-9.6.4
When I run 'slack install tetris' I get this error:
How do I fix this?