我正在设置环境变量以便与GHC编译器和Cabal包管理器一起使用。但是,在检查版本时,我遇到了以下错误:
| => ghc --version
/usr/local/bin/ghc: line 9: /usr/local/lib/ghc-7.8.3/bin/ghc: No such file or directory
/usr/local/bin/ghc: line 9: exec: /usr/local/lib/ghc-7.8.3/bin/ghc: cannot execute: No such file or directory
我担心这会阻碍我在适当的发展环境中取得进展。我应该如何重新配置我的环境变量?