1
我需要更新CentOS上運行的Glassfish 4(CentOS版本6.7)。我發現它必須使用工具pkg完成。我已經安裝了它,但現在我收到以下錯誤,當我嘗試運行在Centos上更新Glassfish 4
PKG列表-u
Traceback (most recent call last):
File "/usr/glassfish4/pkg/bin/client.py", line 61, in ?
import pkg.actions as actions
File "/usr/glassfish4/pkg/vendor-packages/pkg/actions/__init__.py", line 59, i n ?
globals(), locals(), [modname])
File "/usr/glassfish4/pkg/vendor-packages/pkg/actions/group.py", line 36, in ?
import generic
File "/usr/glassfish4/pkg/vendor-packages/pkg/actions/generic.py", line 45, i ?
import pkg.variant as variant
File "/usr/glassfish4/pkg/vendor-packages/pkg/variant.py", line 28, in ?
from pkg.misc import EmptyI
File "/usr/glassfish4/pkg/vendor-packages/pkg/misc.py", line 49, in ?
import zlib
ImportError: libz.so.1: cannot open shared object file: No such file or directo y
---------------------------------------------------------------
There was an error running
/usr/glassfish4/pkg/bin/../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
---------------------------------------------------------------
我如何安裝IA32-lib的包?