Error: Oracle DB Accessibility Test Failed, GLIBCXX_3.4.26 Not Found
Issue
While running setup tests, the following error appears:
Oracle DB accessibility test failed ... Attempt to load dynamic shared library ... failed ... /lib64/libstdc++.so.6: version 'GLIBCXX_3.4.26' not found (required by .../libsapnwrfc.so). This problem could be because this library or a library it referenced was not contained in library search path variable 'LD_LIBRARY_PATH'.
Environment
Connector: HVA SAP ECC on Oracle with NetWeaver
Resolution
To troubleshoot this issue, verify the NetWeaver RFC SDK library set and the Linux runtime requirements on the host running HVA:
- Verify that you installed the required NetWeaver RFC SDK libraries described in the HVA SAP ECC on Oracle with NetWeaver Setup Guide. Confirm that the
/libdirectory contains the required Linux 64-bit libraries, including:libsapnwrfc.solibsapucum.so- ICU libraries, such as
libicudata.so.xx,libicui18n.so.xx,libicuuc.so.xx, andlibicudecnumber.so
- If
libsapnwrfc.soexists but fails to load becauseGLIBCXX_3.4.26is not found, the HVA host's C++ runtime,libstdc++.so.6, is older than the version required by the SAP NetWeaver RFC SDK. Update the OS package that provideslibstdc++.so.6through your Linux distribution's standard package manager. The updated package must provide the requiredGLIBCXX_3.4.26symbol version.
Cause
This issue occurs when the HVA host can't load the SAP NetWeaver RFC SDK library, libsapnwrfc.so, which is required for NetWeaver connectivity. This can happen in the following cases:
- The required SDK libraries were not copied as described in the HVA setup guide.
- The connection is pointing at the wrong SDK directory.
- The host's C++ runtime,
libstdc++.so.6, does not provide the requiredGLIBCXX_3.4.26symbol version. LD_LIBRARY_PATHis not set or does not point to the correct SAP and application libraries.