Glassfish updatetool linux 64位问题

时间:2013-06-10 21:23:10

标签: glassfish-3 ubuntu-12.04

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

---------------------------------------------------------------
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

我已经安装了这个包但它仍然无效。我该怎么办?

2 个答案:

答案 0 :(得分:11)

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

您可以通过运行此命令

来执行此操作
sudo apt-get install libjpeg62:i386

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

答案 1 :(得分:-3)

对于ubuntu 12.04 x64上的glassfish4,请确保您在Update Manager的设置中有精确勾选的推荐更新,然后

sudo apt-get install ia32-libs

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

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

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