Error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory.

Document ID : KB000009186
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When trying to install SAP Adapter 3.2 SP3on Linux RedHat 7.2 to be used along with the System Agent 11.3 SPx, we get the following message:

Error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory.

Environment:
SAP Adapter 3.2 SP3 on Linux Red Hat 7.2WA Agent 11.3 SP7 on Linux Red Hat 7.2
Resolution:

The recommended solution is to install the compat-libstdc++-33 package:

 

# yum install compat-libstdc++-33

 

Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager

 

RHEL7_u2_base                                                                     | 1.3 kB  00:00:00

RHEL7_u2_update                                                                   | 1.3 kB  00:00:00

docker-main-repo                                                                  | 2.9 kB  00:00:00

Resolving Dependencies

--> Running transaction check

---> Package compat-libstdc++-33.x86_64 0:3.2.3-72.el7 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

=========================================================================================================

Package                        Arch              Version                 Repository                Size

=========================================================================================================

Installing:

compat-libstdc++-33            x86_64            3.2.3-72.el7            RHEL7_u2_base            191 k

 

Transaction Summary

=========================================================================================================

Install  1 Package

 

Total download size: 191 k

Installed size: 811 k

Is this ok [y/d/N]: y

Downloading packages:

compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm                                         | 191 kB  00:00:00

Running transaction check

Running transaction test

Transaction test succeeded

 

Installed:

  compat-libstdc++-33.x86_64 0:3.2.3-72.el7

 

 

Complete!