3

我正在尝试在 Ubuntu 12.04 x64 中运行 glassfish updatetool my。当我运行程序时,它给了我以下错误。

---------------------------------------------------------------
There was an error running

/home/mrmrumman/glassfish3/updatetool/bin/../../pkg/python2.4-minimal/bin/python

You are running on a 64 bit Linux distribution and the 32 bit Linux
compatibility libraries do not appear to be installed. In order to use
the Update Center tools you must install the 32 bit compatibility libraries.

On Ubuntu (and possibly other Debian based systems) please install the
ia32-libs package. On RedHat 4 (and other RPM based systems), you may
need to add multiple 'compat' runtime library packages. Please see the
Update Center Release Notes for more information

我已经安装了这个软件包,但它仍然不起作用。我能做些什么?

4

2 回答 2

11

您还需要安装 32 位版本的 libjpeg.so.62 。

您可以通过运行此命令来执行此操作

sudo apt-get install libjpeg62:i386

来源:https ://java.net/projects/updatecenter/lists/dev/archive/2012-05/message/0

于 2013-06-10T21:23:09.993 回答
-3

对于 ubuntu 12.04 x64 上的 glassfish4,请确保您在更新管理器的设置中精确勾选了推荐的更新,然后

sudo apt-get install ia32-libs

但这还不够,因为 pkg 命令会在错误的目录中查找那些用于 ubuntu 安装的库。使用此命令帮助它找到它们

sudo ln -s /lib/i386-linux-gnu /usr/lib32

然后 pkg 命令应该可以正常工作。

于 2013-08-30T01:11:59.340 回答