[英]Pharo on Ubuntu 13.04 : error with not finding module “vm-display-X11”
I have downloaded Pharo 2.0 installer for Linux. 我已经下载了适用于Linux的Pharo 2.0安装程序。 On Ubuntu 13.04 64-bit, I have ia32-libs
and ia32-libs-multiarch
installed already. 在Ubuntu 13.04 64位上,我已经安装了ia32-libs
和ia32-libs-multiarch
。 However, when I launch Pharo, I get an error: could not find module vm-display-X11
. 但是,当我启动Pharo时,我收到一个错误: could not find module vm-display-X11
。 After that, it aborts. 在那之后,它就会中止。
The said file is available in the bin
directory, as usual. 像往常一样,所述文件在bin
目录中可用。 I had never run into this error earlier. 我以前从未遇到过这个错误。 I recently re-installed Ubuntu, after which I am having this error. 我最近重新安装了Ubuntu,之后我遇到了这个错误。 Any suggestions? 有什么建议么? Thanks. 谢谢。
The easiest way to install Pharo on Ubuntu is to use the dedicated PPA: 在Ubuntu上安装Pharo的最简单方法是使用专用PPA:
See the "Ubuntu ppa" section at http://pharo.org/download 请参阅http://pharo.org/download上的“Ubuntu ppa”部分
vm-display-X11 probably has some unmet dependencies, use ldd to find them vm-display-X11可能有一些未满足的依赖项,使用ldd来查找它们
ldd pharo-vm/vm-display-X11
This should output something similar to 这应该输出类似的东西
linux-gate.so.1 (0xf776e000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf7706000)
libGL.so.1 => not found
libX11.so.6 => not found
libc.so.6 => /lib/libc.so.6 (0xf7539000)
/lib/ld-linux.so.2 (0xf776f000)
In ubuntu use dpkg -S to find the packages that provide those dependencies 在ubuntu中使用dpkg -S来查找提供这些依赖项的包
dpkg -S libGL.so.1 libX11.so.6
And finally install them with your package manager 最后用包管理器安装它们
The following two steps solved the problem. 以下两个步骤解决了这个问题。
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib32/libGL.so.1
sudo ldconfig
Not pretty, but it worked! 不漂亮,但它有效!
From pharo.org: http://pharo.org/gnu-linux-installation#debian8 从pharo.org: http://pharo.org/gnu-linux-installation#debian8
The installation in more recent Ubuntu & Debian distributions requires some operations. 在最近的Ubuntu和Debian发行版中的安装需要一些操作。
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libx11-6:i386
sudo apt-get install libgl1-mesa-glx:i386
sudo apt-get install libfontconfig1:i386
sudo apt-get install libssl1.0.0:i386
It should works 它应该有效
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.