无法启动 DrRacket

无法启动 DrRacket

我下载了 racket5.3 的 unix 源代码http://racket-lang.org/download/并按照构建说明进行操作,它安装成功。

我尝试从创建的 /bin 目录运行 ./drracket,但出现以下错误消息:

ffi-lib: couldn't open "libgdk-x11-2.0.so.0" (libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory)   
context...:
/home/jon/scr-downloads/racket-5.3/collects/mred/private/wx/gtk/utils.rkt: [running body]
/home/jon/scr-downloads/racket-5.3/collects/mred/private/wx/gtk/init.rkt: [traversing imports]
/home/jon/scr-downloads/racket-5.3/collects/mred/private/wx/gtk/platform.rkt: [traversing imports]
/home/jon/scr-downloads/racket-5.3/collects/mred/private/wx/platform.rkt: [running body]
/home/jon/scr-downloads/racket-5.3/collects/mred/private/kernel.rkt: [traversing imports]
/home/jon/scr-downloads/racket-5.3/collects/mred/private/mred.rkt: [traversing imports]
/home/jon/scr-downloads/racket-5.3/collects/mred/mred.rkt: [traversing imports]
/home/jon/scr-downloads/racket-5.3/collects/mred/main.rkt: [traversing imports]
/home/jon/scr-downloads/racket-5.3/collects/racket/gui/base.rkt: [traversing imports]
/home/jon/scr-downloads/racket-5.3/collects/drracket/drracket.rkt: [traversing imports]

我将非常感激任何能够帮助解决该问题的帮助。

谢谢。

答案1

您所遇到的问题是由不正确的链接引起的。

最简单的解决方案就是从 ppa 安装它。

球拍开发者维护ppa 并保持最新状态。

要安装它,请运行

sudo add-apt-repository ppa:plt/racket
sudo apt-get update
sudo apt-get install racket

删除您在尝试从源代码构建时创建的所有文件,然后安装 racket。

相关内容