Error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory while installing Linux clients.
Problem
GENERAL ERROR: Error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory while installing Linux clients.
During a NetBackup 6.x installation the following errors may appear if the standard Linux 32-bit C++ compatibility libraries are not installed. /usr/openv/netbackup/bin/bpps: error while loading shared libraries:
libstdc++.so.6 : cannot open shared object file: No such file or directory
/usr/openv/netbackup/bin/bmrsetupclient: error while loading shared libraries:
libstdc++.so.6 : cannot open shared object file: No such file or directory
Cause
Error message may occur during the installation of NetBackup 6.x clients. These errors occur when the installed NetBackup binaries on the client cannot load Linux OS shared libraries. Specifically, this is the result of the standard Linux 32-bit C++ compatibility libraries not being installed.
Solution
The solution is to install the standard Linux 32-bit C++ compatibility libraries in order to satisfy this library dependency. The version of Linux on the client will determine what RPM or software package needs to be installed. Also check the Veritas NetBackup (tm) OS Compatibility lists in the Related Documents section, below, to ensure the RedHat version is supported with the version of NetBackup that is running.
Depending on the version of Linux, the installation may require additional supporting packages to be installed long with the compat-libstdc++ package. Contact RedHat support for assistance with locating and installing the correct version of the RedHat standard C++ compatibility RPMs as well as any other required packages. An online search for RPMs is also available at the following Web site: https://www.rpmfind.net/