Site Search

2011-03-31

32 Bit Compatibility Libraries to Update GlassFish 3.1 under CentOS

Problem:
[root@sky opt]# glassfish/bin/pkg
/root/my/opt/glassfish3/pkg/bin/../python2.4-minimal/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
---------------------------------------------------------------
There was an error running
/root/my/opt/glassfish3/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
---------------------------------------------------------------
Solution:
yum install compat-db.i386 zlib.i386 libidn.i386 krb5-libs.i386