Tas*_*a D 12 installation haskell 11.10
我正在尝试在 ubuntu 11.10 上安装 haskell,我正在按照本网站上的说明进行操作:https : //gist.github.com/1524859
但是当我输入时,./configure
我收到一条错误消息:
checking for path to top of build tree... utils/ghc-pwd/dist/build/tmp/ghc-pwd: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory
configure: error: cannot determine current directory
Run Code Online (Sandbox Code Playgroud)
有谁知道我做错了什么?
小智 12
我只需安装正确的软件包(无链接)就可以解决这个问题。
sudo apt-get install libgmp3c2 freeglut3 freeglut3-dev -y
Run Code Online (Sandbox Code Playgroud)
我会注意到我已经安装了这些依赖项:
make libssl-dev build-essential curl git-core
Run Code Online (Sandbox Code Playgroud)
操作修复了这个:
sudo ln -s /usr/lib/libgmp.so.10.0.1 /usr/lib/libgmp.so.3
Run Code Online (Sandbox Code Playgroud)