/usr/bin/ld.gold: error: cannot find -lgmp
wslにghcupでインストールしたcabalのチュートリアルプロジェクトを作ろうとして次のコマンドを実行した
cabal build
wsl ubuntu
sudo apt-get install libgmp3-dev
Register as a new user and use Qiita more conveniently