我使用从程序主页下载的安装程序安装了glassfish。当我尝试运行updatetool时,出现以下错误:
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
Traceback (innermost last):
File "/opt/glassfish/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: libpangoxft-1.0.so.0: file not found (my translation)
已安装libgtk2.0-0:i386、libpangoxft-1.0-0和lsb。
我正在使用 Ubuntu 13.10 64 位。
我应该怎么做才能运行该程序?
答案1
我必须安装以下 32 位软件包才能使其正常工作:
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 libjpeg62:i386 libpangoxft-1.0-0:i386 libpangox-1.0-0:i386 libsm6:i386 libidn11:i386
系统上可能已经安装了其他程序,但从错误消息中应该可以清楚地知道哪些需要安装(记得用“:i386”限定包)。