我安装了glassfish 4并且效果很好但是几分钟前我尝试执行updatetool
但是我收到了这个错误:
./updatetool: 283: ./updatetool: /home/mazzy/glassfish4/updatetool/bin/../../pkg/python2.4-minimal/bin/python: not found
---------------------------------------------------------------
There was an error running
/home/mazzy/glassfish4/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
---------------------------------------------------------------
我的系统是Debian 7.1.0 Wheezy 64位。
你有什么建议?请不要说要安装ia32-libs
包,因为我已经尝试安装它,因为它无法安装在我的系统中。
修改
这是我为i386架构安装ia32-libs后出现的下一个错误:
GlassFish Update Tool does not support running in "it_IT.utf" locale.
Attempting to use English locale.
WX import error. Verify the WX widgets are in the PYTHONPATH.
The following can be reported to GlassFish Update Tool 2.3.5 Development Team <dev@updatecenter.java.net>.
Traceback (innermost last):
File "/home/mazzy/glassfish4/updatetool/vendor-packages/updatetool/common/boot.py", line 283, in init_app_locale
import wx
File "wx/__init__.py", line 45, in ?
File "wx/_core.py", line 4, in ?
ImportError: libgtk-x11-2.0.so.0: impossibile aprire il file oggetto condiviso: File o directory non esistente
答案 0 :(得分:0)
我刚刚写了关于在glassfish 4上安装updatetool的参考资料, https://stackoverflow.com/questions/21060532/how-to-install-updatetool-on-glassfish-4-64bit-reference 我没有遇到你提到的库(而不是其他库)的问题,所以请随时完成。
答案 1 :(得分:0)
在Debian 7中,您需要向dpkg指示能够安装32位库的其他架构。使用:
dpkg --add-architecture i386
然后更新存储库缓存并安装指示i386体系结构的所需包。
aptitude update
aptitude install libgtk2.0-0:i386
对错误消息中指示的每个库执行此操作。在我的经验中:libpangoxft-1.0-0:i386,libidn11:i386,libjpeg62:i386,libsm6:i386,libpangox-1.0-0:i386
答案 2 :(得分:0)
我有: Linux版本3.10-2-amd64(debian-kernel@lists.debian.org)(gcc版本4.7.3(Debian 4.7.3-6))#1 SMP Debian 3.10.5-1(2013-08- 07)
我无法更新与&#34; i386&#34;相关的任何lib。因为它是一个测试源,但是!我的Windows上有Glassfish(非常新),所以我在Debian上停止了域并复制/粘贴整个文件夹/模块并完成了!