GENERAL ERROR: Error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory while installing Linux clients.

Article:TECH31347  |  Created: 2010-01-30  |  Updated: 2012-07-25  |  Article URL http://www.symantec.com/docs/TECH31347
Article Type
Technical Solution

Product(s)

Environment

Issue



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.  

 
For RedHat ES 5.0 Clients
 
Install the compat-libstdc++-296-2.96-138.i386.rpm package.
 

 
For RedHat 4.0 Clients
 
The location of the required standard C++ compatibility library has been changed in RedHat 4.0 distributions. There is a different RPM that is required in order to install the library required for these binaries to run. Install the compat-libstdc++-296-2.96.132.7.2.i386.rpm package, which is located on the RedHat 4.0 Installation Disc 3.  
 

 
For RedHat 9.0 Clients
 
Install the compat-libstdc++-7.3-2.96.118.i386.rpm package.
 

 

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:  http://www.rpmfind.net/
 



Legacy ID



267077


Article URL http://www.symantec.com/docs/TECH31347


Terms of use for this information are found in Legal Notices