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

Comments

  1. Anonymous12.11.11

    what worked for me was
    yum install compat-db.i686 zlib.i686 libidn.i686 krb5-libs.i686

    thanks

    ReplyDelete

Post a Comment

Popular posts from this blog

Tuning ext4 for performance with emphasis on SSD usage

NetBeans 6.1: Working with Google´s Android SDK, Groovy and Grails