libstdc++.so.5 errors policy server installation

Discussion created by tiwvi01 on Jan 20, 2014
Latest reply on Jan 25, 2014 by JPerlmutter

We generally come accross libstdc++.so.5 errors whle installing policy server on RHEL machines,


STDERR: /tmp/842928.tmp/smreg: error while loading shared libraries:

libstdc++.so.6: cannot open shared object file: No such file or directory


This usually happens when C and C++ compliers are not installed on the server. You need to install them with the help of your system admins or if you have root access run below commands:

yum list | grep libstdc++*

This will lt the libaries available in YUM:

compat-libstdc++-296.i686              2.96-144.el6                @rhel6_u4_base
compat-libstdc++-33.i686               3.2.3-69.el6                @rhel6_u4_base
compat-libstdc++-33.x86_64             3.2.3-69.el6                @rhel6_u4_base
libstdc++.i686                         4.4.7-3.el6                 @rhel6_u4_base
libstdc++.x86_64                       4.4.7-3.el6                 @anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4
libstdc++-devel.i686                   4.4.7-3.el6                 @rhel6_u4_base
libstdc++-devel.x86_64                 4.4.7-3.el6                 @anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4
libstdc++-docs.x86_64                  4.4.7-3.el6                 rhel6_u4_base

And install the libraries running

Yum install filename

These errors you may probably face while installing policy server on RHEL 6, servers.



Vikas Tiwari