How to Fix “MISSING: /usr/lib/libstdc++.so.6” Zimbra Installation on CentOS 6.2 x86_64

Questions :
When i try to install Zimbra 7.1.4 on linux CentOS 6.2 server, i got the following error message and cannot proceed the zimbra installation. How can i fix this ?

MISSING: /usr/lib/libstdc++.so.6
[root@mail zcs-7.1.4_GA_2555.RHEL6_64.20120105094542]# ./install.sh --platform-override

Operations logged to /tmp/install.log.2145
Checking for existing installation...
    zimbra-ldap...NOT FOUND
    zimbra-logger...NOT FOUND
    zimbra-mta...NOT FOUND
    zimbra-snmp...NOT FOUND
    zimbra-store...NOT FOUND
    zimbra-apache...NOT FOUND
    zimbra-spell...NOT FOUND
    zimbra-convertd...NOT FOUND
    zimbra-memcached...NOT FOUND
    zimbra-proxy...NOT FOUND
    zimbra-archiving...NOT FOUND
    zimbra-cluster...NOT FOUND
    zimbra-core...NOT FOUND

PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:
  http://www.zimbra.com/license/zimbra_public_eula_2.1.html

Do you agree with the terms of the software license agreement? [N] y

Checking for prerequisites...
     FOUND: NPTL
     FOUND: sudo-1.7.4p5-7
     FOUND: libidn-1.18-2
     FOUND: gmp-4.3.1-7
     MISSING: /usr/lib/libstdc++.so.6
Checking for suggested prerequisites...
     FOUND: sysstat
     FOUND: sqlite

###ERROR###

One or more prerequisite packages are missing.
Please install them before running this installer.

Installation cancelled.

Tested Workarounds :
I think this is bug that need to be fix.
/usr/lib/ = Library for CentOS 32 Bit
/usr/lib64/ = Library for CentOS 64 Bit

See also  How to Install Httpd on CentOS 6.2

I have two workarounds for this issue. If you have any suggestions and recommendations and corrections, please do let me know. By the way, i have tested both workaround, it workings perfectly on my zimbra lab server.

Workaround 1 :
Create symbolic link to the following file :

[root@mail ~]# ln -s /usr/lib64/libstdc++.so.6 /usr/lib/libstdc++.so.6

Verify the created symbolic link :

[root@mail ~]# ls -l /usr/lib/libstdc++.so.6
lrwxrwxrwx. 1 root root 25 Mar 31 20:30 /usr/lib/libstdc++.so.6 -> /usr/lib64/libstdc++.so.6

Workaround 2 :

Download libstdc++ 32 bit installer :

[root@mail ~]# wget http://centos.ipserverone.com/centos/6.2/os/i386/Packages/compat-libstdc++-33-3.2.3-69.el6.i686.rpm
[root@mail ~]# wget http://centos.ipserverone.com/centos/6.2/os/i386/Packages/compat-libstdc++-296-2.96-144.el6.i686.rpm
[root@mail ~]# wget http://centos.ipserverone.com/centos/6.2/os/i386/Packages/libstdc++-4.4.6-3.el6.i686.rpm
[root@mail ~]# wget http://centos.ipserverone.com/centos/6.2/os/i386/Packages/libstdc++-devel-4.4.6-3.el6.i686.rpm
[root@mail ~]# wget http://centos.ipserverone.com/centos/6.2/os/i386/Packages/libstdc++-docs-4.4.6-3.el6.i686.rpm

Install the rpm packages :

[root@mail ~]# rpm -ivh compat-libstdc* libstdc++* --nodeps
Preparing...                ########################################### [100%]
   1:libstdc++              ########################################### [ 20%]
   2:libstdc++-devel        ########################################### [ 40%]
   3:libstdc++-docs         ########################################### [ 60%]
   4:compat-libstdc++-33    ########################################### [ 80%]
   5:compat-libstdc++-296   ########################################### [100%]

Verify the libstdc installed packages exist in /usr/lib :

[root@mail lib]# pwd
/usr/lib
[root@mail lib]# ls | grep libstdc
libstdc++-3-libc6.2-2-2.10.0.so
libstdc++-libc6.2-2.so.3
libstdc++.so.5
libstdc++.so.5.0.7
libstdc++.so.6
libstdc++.so.6.0.13

How to Reset the Directory Manager Password on RHEL 7 / CentOS 7
How to Reset the Directory Manager Password on RHEL 7 / CentOS 7

It is best practice to remember passwords, but because too many passwords, sometimes we forget. We are not encouraged to write the password on any paper or share the password...

How to Find Big Files Size on Linux RHEL/CentOS
How to Find Big Files Size on Linux RHEL/CentOS

As the linux administrator, sometimes we have to identify which files are most take much space in the linux server resulting in low free space. Low disk space can also...

Why Linux users should worry about malware and what they can do about it
Why Linux users should worry about malware and what they can do about it

Don’t drop your guard just because you’re running Linux. Preventing the spread of malware and/or dealing with the consequences of infection are a fact of life when using computers. If...

How to Reset Forgotten Root Password on Linux RHEL 7 / CentOS 7
How to Reset Forgotten Root Password on Linux RHEL 7 / CentOS 7

This short howto will explain the steps to reset a lost root password or to reset a forgotten root password on Linux RHEL 7 or CentOS 7. Basically, we will...

How to Update CentOS or Upgrade CentOS to the Latest Version
How to Update CentOS or Upgrade CentOS to the Latest Version

Recently, the latest version of CentOS 7.3 was released. All users of CentOS 7.0, 7.1 and 7.2 can upgrade their system to the most recent. This quick guide will explain...

How to Change your WordPress Username, Nickname and Display Name in MySQL
How to Change your WordPress Username, Nickname and Display Name in MySQL

After you create an account log in WordPress, you may want to change your WordPress username, as appropriate or due to security reason. However, you can not do this from...

How to Enable SSH Root Login on Ubuntu 16.04
How to Enable SSH Root Login on Ubuntu 16.04

As what we wrote in the previous article on how to allow SSH root on Ubuntu 14.04, after installing a fresh new copy of Ubuntu 16.04 LTS, we find that...

How to Change UUID of Linux Partition on CentOS 7
How to Change UUID of Linux Partition on CentOS 7

UUID (Universally Unique IDentifier) should be unique and it is used to identify storage devices on a linux system. If you cloned a virtual machine from vCenter, the metadata containing...

1 Comment

1 Trackback or Pingback

Leave a Reply

Your email address will not be published. Required fields are marked *