"Error while loading shared libraries: libstdc++-libc6.1-1.so.2" during install of SMSDOM-MPE on RedHat/Centos Linux
| Article:TECH90550 | | | Created: 2008-01-15 | | | Updated: 2010-01-21 | | | Article URL http://www.symantec.com/docs/TECH90550 |
Problem
The library is no longer included and installed with RedHat Enterprise Linux 5 and later. The software package can still be installed from either RHEL3 or RHEL4 Install CDs. Without the software/library the error will occur.
Symptoms
During the install of Symantec Mail Security for Domino Multi-Platform Edition (SMSDOM-MPE) you will see a message similar to the picture below:

Cause
The libstdc++-libc6.1-1.so.2 is the backward-compatibility compiler for Standard C++ libraries on Red Hat 7.3 (used to compile SMSDOM-MPE binaries). By default, this rpm is installed on RH3 and RH4, but not on RH5 and later.
Solution
This issue can be resolved by installing the package compat-libstdc++-296-2.96-132.7.2.i386.rpm (which can be found on the RH3 and RH4 CDs) before installing SMSDOM-MPE.
This issue is not specific to Intelliwatch, nor to RH5; it may also be seen on RH3 and 4, if the above-mentioned rpm was not installed.
compat-libstdc++-296-2.96-132.7.2.i386.rpm contains libstdc++-libc6.1-1.so.2 and libstdc++-libc6.2-2.so.3
The solution is to install compat-libstdc++-296-2.96-132.7.2.i386.rpm then on top of it install compat-libstdc++-296-2.96-138.i386.rpm.
- Login as root and uninstall compat-libstdc++-296-2.96-138.i386.rpm by issuing command:
rpm -e compat-libstdc++-296-2.96-138 - Confirm that the rpm is unistalled. Issue command:
rpm -qa | grep compat-libstdc+
and you should not see compat-libstdc++-296-2.96-138 in the output. - Download compat-libstdc++-296-2.96-132.7.2.i386.rpm.
- Install compat-libstdc++-296-2.96-132.7.2.i386.rpm by issuing command:
rpm -ivh compat-libstdc++-296-2.96-132.7.2.i386.rpm - Reinstall compat-libstdc++-296-2.96-138.i386.rpm by issuing command:
rpm -ivh --force compat-libstdc++-296-2.96-138.i386.rpm - Confirm that both rpms are installed, by issuing command:
rpm -qa | grep compat-libstdc+
You should see the following output:
compat-libstdc++-296-2.96-138
compat-libstdc++-33-3.2.3-61
compat-libstdc++-296-2.96-132.7.2 - Now install SMSDOM-MPE.
Another Solution that worked on Centos 5.2
1. cd /usr/lib
2. ln -s libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-1.so.2
Note: This Centos solution simply creates a symbolic link named libstrc++-libc6.1-2.so.2 that points to the libstdc++-libc6.2-2.so.3 file. When our software sees the link it thinks this file is actually there even though it is nothing more than a link pointing to a newer version library. It may be okay to point this to any newer version of the library but be warned that at some point older functions in a newer libraries may become deprecated and then not work. Also, this technique could be used on other OSs like the Redhat mentioned above.
|
|
| Source | ETrack |
| Value | 1415807 |
Legacy ID
2008101516295554
Article URL http://www.symantec.com/docs/TECH90550
Terms of use for this information are found in Legal Notices









Thank you.