Symptom
In order to run SAP applications compiled with GCC 6.x on RHEL or SLES, additional operating system software packages are required to be installed.
Please note:
In order to run SAP applications compiled with GCC 6.x on RHEL or SLES, additional operating system software packages are required to be installed.
Please note:
For better readability of this SAP note - if not mentioned explicitely otherwise - "RHEL" is used as a synonym for "RHEL for SAP" and "RHEL for SAP HANA", and "SLES" is applicable for "SLES for SAP Applications" as well.
Other Terms
GCC 6.x compat-sap-c++-6 libgcc_s1 libstdc++6
Reason and Prerequisites
In order to run SAP applications which were compiled with GCC 6.x, a newer compiler version than originally delivered with RHEL 7 and SLES 12, additional runtime environment packages for GCC 6.x need to be installed before running such an SAP application. Otherwise, the SAP application no longer starts and it issues error messages such as:
/usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by
Additional example of HANA 2 on RHEL 7.x:
SAP HANA Database installation kit detected.
Installation failed
Checking system requirements failed
Cannot access required library '/opt/rh/SAP/lib64/compat-sap-c++-6.so': No such file or directory
Please install the rpm package 'compat-sap-c++-6'!
Additional example of HANA 2 on SLES 12 SP1:
SAP HANA Database installation kit detected.
Installation failed
Checking system requirements failed
rpm package 'libgcc_s1' needs at least version 6.2. (current version = 5.2.1+r226025)
rpm package 'libstdc++6' needs at least version 6.2. (current version = 5.2.1+r226025)
The operating system is not ready to perform gcc 6 assemblies
Solution
In order to run SAP applications compiled with GCC 6.x on RHEL or SLES, the required compiler runtime libraries need to be installed or updated. Starting with RHEL 7 and SLES 12, the required GCC 6.x runtime is available via the normal software update repositories.
Please note: You can also operate older versions of SAP applications on this system after installing the GCC 6.x libraries. There is no need to reboot.
RHEL 7
The RPM package compat-sap-c++-6 needs to be installed additionally to the standard compiler runtime libraries:
In order to be able to get access to the library customers need subscriptions for “Red Hat Enterprise Linux for SAP Solutions” or in case for non SAP HANA alternatively "Red Hat Enterprise Linux for SAP Business Applications". With this subscription you can subscribe your server to the "RHEL Server SAP" or "RHEL for SAP HANA" channel on the Red Hat Customer Portal or your local Satellite server. After subscribing a server to the channel the output of "yum repolist" must contain the following:
rhel-x86_64-server-sap-
rhel-x86_64-server-sap-hana-
Afterwards the compat-sap-c++-6 package can be installed with the following command:
# yum install compat-sap-c++-6
Minimum version is compat-sap-c++-6, for example:
# rpm -q compat-sap-c++-6
compat-sap-c++-6.el7_2.x86_64
SLES 12
The RPM packages libgcc_s1 and libstdc++6 need to be installed resp. updated. Please proceed as follows:
# zypper install libgcc_s1 libstdc++6
Minimum versions are libgcc_s1-6.2.1 and libstdc++6-6.2.1, for example:
# rpm -q libgcc_s1 libstdc++6
libgcc_s1-6.2.1.x86_64
libstdc++6-6.2.1.x86_64
Symptom
In order to run SAP applications compiled with GCC 6.x on RHEL or SLES, additional operating system software packages are required to be installed.
Please note:
For better readability of this SAP note - if not mentioned explicitely otherwise - "RHEL" is used as a synonym for "RHEL for SAP" and "RHEL for SAP HANA", and "SLES" is applicable for "SLES for SAP Applications" as well.
Other Terms
GCC 6.x compat-sap-c++-6 libgcc_s1 libstdc++6
Reason and Prerequisites
In order to run SAP applications which were compiled with GCC 6.x, a newer compiler version than originally delivered with RHEL 7 and SLES 12, additional runtime environment packages for GCC 6.x need to be installed before running such an SAP application. Otherwise, the SAP application no longer starts and it issues error messages such as:
/usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by)
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by)
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by)
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by)
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by)
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by)
Additional example of HANA 2 on RHEL 7.x:
SAP HANA Database installation kit detected.
Installation failed
Checking system requirements failed
Cannot access required library '/opt/rh/SAP/lib64/compat-sap-c++-6.so': No such file or directory
Please install the rpm package 'compat-sap-c++-6'!
For more information, see SAP Note 2455582.
Additional example of HANA 2 on SLES 12 SP1:
SAP HANA Database installation kit detected.
Installation failed
Checking system requirements failed
rpm package 'libgcc_s1' needs at least version 6.2. (current version = 5.2.1+r226025)
rpm package 'libstdc++6' needs at least version 6.2. (current version = 5.2.1+r226025)
The operating system is not ready to perform gcc 6 assemblies
For more information, see SAP Note 2455582.
Solution
In order to run SAP applications compiled with GCC 6.x on RHEL or SLES, the required compiler runtime libraries need to be installed or updated. Starting with RHEL 7 and SLES 12, the required GCC 6.x runtime is available via the normal software update repositories.
Please note: You can also operate older versions of SAP applications on this system after installing the GCC 6.x libraries. There is no need to reboot.
RHEL 7
The RPM package compat-sap-c++-6 needs to be installed additionally to the standard compiler runtime libraries:
In order to be able to get access to the library customers need subscriptions for “Red Hat Enterprise Linux for SAP Solutions” or in case for non SAP HANA alternatively "Red Hat Enterprise Linux for SAP Business Applications". With this subscription you can subscribe your server to the "RHEL Server SAP" or "RHEL for SAP HANA" channel on the Red Hat Customer Portal or your local Satellite server. After subscribing a server to the channel the output of "yum repolist" must contain the following:
rhel-x86_64-server-sap- RHEL Server SAP (v. for 64-bit )
rhel-x86_64-server-sap-hana- RHEL Server SAP HANA (v. for 64-bit )
Afterwards the compat-sap-c++-6 package can be installed with the following command:
# yum install compat-sap-c++-6
Minimum version is compat-sap-c++-6, for example:
# rpm -q compat-sap-c++-6
compat-sap-c++-6.el7_2.x86_64
SLES 12
The RPM packages libgcc_s1 and libstdc++6 need to be installed resp. updated. Please proceed as follows:
# zypper install libgcc_s1 libstdc++6
Minimum versions are libgcc_s1-6.2.1 and libstdc++6-6.2.1, for example:
# rpm -q libgcc_s1 libstdc++6
libgcc_s1-6.2.1.x86_64
libstdc++6-6.2.1.x86_64
In order to run SAP applications compiled with GCC 6.x on RHEL or SLES, additional operating system software packages are required to be installed.
Please note:
For better readability of this SAP note - if not mentioned explicitely otherwise - "RHEL" is used as a synonym for "RHEL for SAP" and "RHEL for SAP HANA", and "SLES" is applicable for "SLES for SAP Applications" as well.
Other Terms
GCC 6.x compat-sap-c++-6 libgcc_s1 libstdc++6
Reason and Prerequisites
In order to run SAP applications which were compiled with GCC 6.x, a newer compiler version than originally delivered with RHEL 7 and SLES 12, additional runtime environment packages for GCC 6.x need to be installed before running such an SAP application. Otherwise, the SAP application no longer starts and it issues error messages such as:
/usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by
Additional example of HANA 2 on RHEL 7.x:
SAP HANA Database installation kit detected.
Installation failed
Checking system requirements failed
Cannot access required library '/opt/rh/SAP/lib64/compat-sap-c++-6.so': No such file or directory
Please install the rpm package 'compat-sap-c++-6'!
For more information, see SAP Note 2455582.
Additional example of HANA 2 on SLES 12 SP1:
SAP HANA Database installation kit detected.
Installation failed
Checking system requirements failed
rpm package 'libgcc_s1' needs at least version 6.2. (current version = 5.2.1+r226025)
rpm package 'libstdc++6' needs at least version 6.2. (current version = 5.2.1+r226025)
The operating system is not ready to perform gcc 6 assemblies
For more information, see SAP Note 2455582.
Solution
In order to run SAP applications compiled with GCC 6.x on RHEL or SLES, the required compiler runtime libraries need to be installed or updated. Starting with RHEL 7 and SLES 12, the required GCC 6.x runtime is available via the normal software update repositories.
Please note: You can also operate older versions of SAP applications on this system after installing the GCC 6.x libraries. There is no need to reboot.
RHEL 7
The RPM package compat-sap-c++-6 needs to be installed additionally to the standard compiler runtime libraries:
In order to be able to get access to the library customers need subscriptions for “Red Hat Enterprise Linux for SAP Solutions” or in case for non SAP HANA alternatively "Red Hat Enterprise Linux for SAP Business Applications". With this subscription you can subscribe your server to the "RHEL Server SAP" or "RHEL for SAP HANA" channel on the Red Hat Customer Portal or your local Satellite server. After subscribing a server to the channel the output of "yum repolist" must contain the following:
rhel-x86_64-server-sap-
rhel-x86_64-server-sap-hana-
Afterwards the compat-sap-c++-6 package can be installed with the following command:
# yum install compat-sap-c++-6
Minimum version is compat-sap-c++-6, for example:
# rpm -q compat-sap-c++-6
compat-sap-c++-6.el7_2.x86_64
SLES 12
The RPM packages libgcc_s1 and libstdc++6 need to be installed resp. updated. Please proceed as follows:
# zypper install libgcc_s1 libstdc++6
Minimum versions are libgcc_s1-6.2.1 and libstdc++6-6.2.1, for example:
# rpm -q libgcc_s1 libstdc++6
libgcc_s1-6.2.1.x86_64
libstdc++6-6.2.1.x86_64
More information see SNote 2455582
EmoticonEmoticon
Note: only a member of this blog may post a comment.