Bug 2143913
| Summary: | Include symlink link to /opt/rh/SAP/lib64/libstdc++.so.6 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Holger Hopp <holger.hopp> |
| Component: | compat-sap-c++-10 | Assignee: | Patrick Palka <ppalka> |
| Status: | ASSIGNED --- | QA Contact: | Václav Kadlčík <vkadlcik> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.1 | CC: | aarnold, abezhani, alexander.hass, bfinger, cbrune, fweimer, jwakely, ppalka, sipoyare, vkadlcik |
| Target Milestone: | rc | Keywords: | Bugfix, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2189453 | ||
| Bug Blocks: | |||
|
Description
Holger Hopp
2022-11-18 11:02:53 UTC
There is a typo in the description: The correct RHEL versions in which the fix needs to be available are RHEL 8.1, 8.2, 8.4, 8.6, 8.7 (not 7.7). Note: I had proposed the bug description to Holger, and the typo was introduced by me. Reseting current deadline since issue will not be moved to modified today. Some test results and comments for
compat-sap-c++-12.1.1-1.1.el8_8.x86_64.rpm and
compat-sap-c++-{9,10,11,12}-12.1.1-1.1.el8_8.x86_64.rpm :
From my point of view everything is okay (symlink libstdc++.so.6 is available, also all symlinks compat-sap-c++-*.so).
Some comments regarding upgrades:
Following seems to be possible:
(1) (New) Installation of compat-sap-c++-12.1.1-1.1.el8_8.x86_64.rpm.
(2) (New) Installation of compat-sap-c++-12.1.1-1.1.el8_8.x86_64.rpm AND all compat-sap-c++-{9,10,11,12}-12.1.1-1.1.el8_8.x86_64.rpm
(3) Upgrade from installed older compat-sap-c++-12 to compat-sap-c++-12.1.1-1.1.el8_8.x86_64.rpm AND all compat-sap-c++-{9,10,11,12}-12.1.1-1.1.el8_8.x86_64.rpm
The result (installed files) is the same all 3 cases:
$ ll /opt/rh/SAP/lib64/
total 2296
lrwxrwxrwx. 1 root root 24 Apr 17 16:31 compat-sap-c++-10.so -> compat-sap-c++-12.1.1.so
lrwxrwxrwx. 1 root root 24 Apr 17 16:31 compat-sap-c++-11.so -> compat-sap-c++-12.1.1.so
-rwxr-xr-x. 1 root root 2343184 Apr 17 16:31 compat-sap-c++-12.1.1.so
lrwxrwxrwx. 1 root root 24 Apr 17 16:31 compat-sap-c++-12.so -> compat-sap-c++-12.1.1.so
lrwxrwxrwx. 1 root root 24 Apr 17 16:31 compat-sap-c++-9.so -> compat-sap-c++-12.1.1.so
lrwxrwxrwx. 1 root root 24 Apr 17 16:31 libstdc++.so.6 -> compat-sap-c++-12.1.1.so
-rw-r--r--. 1 root root 1022 Apr 17 16:31 README12
This is okay.
But upgrade is different.
Simple upgrade to compat-sap-c++-12.1.1-1.1.el8_8.x86_64.rpm is impossible.
The upgrade requires compat-sap-c++-12.1.1-1.1.el8_8.x86_64.rpm and all compat-sap-c++-{9,10,11,12}-12.1.1-1.1.el8_8.x86_64.rpm (described in how-to-install-the-compat-sap-c++-test-packages.pdf).
All the versioned RPMs are installed, but do nothing. That seems to be awkwardly, but probably necessary, if (current) SAP HANA Installer requires the versioned package.
I've only tested rpm (-i and -U), no yum or dnf.
On SAP Kernel side this does not matter. The SAP kernel finds the /opt/rh/SAP/lib64/libstdc++.so.6 properly.
ToDo on SAP side:
Adapt SAP note 3119751 (https://launchpad.support.sap.com/#/notes/3119751) when RHEL 8 minor version of feature release is known.
(In reply to Holger Hopp from comment #17) > Some test results and comments for > compat-sap-c++-12.1.1-1.1.el8_8.x86_64.rpm and > compat-sap-c++-{9,10,11,12}-12.1.1-1.1.el8_8.x86_64.rpm : > > From my point of view everything is okay (symlink libstdc++.so.6 is > available, also all symlinks compat-sap-c++-*.so). > > Some comments regarding upgrades: > Following seems to be possible: > (1) (New) Installation of compat-sap-c++-12.1.1-1.1.el8_8.x86_64.rpm. > (2) (New) Installation of compat-sap-c++-12.1.1-1.1.el8_8.x86_64.rpm AND all > compat-sap-c++-{9,10,11,12}-12.1.1-1.1.el8_8.x86_64.rpm > (3) Upgrade from installed older compat-sap-c++-12 to > compat-sap-c++-12.1.1-1.1.el8_8.x86_64.rpm AND all > compat-sap-c++-{9,10,11,12}-12.1.1-1.1.el8_8.x86_64.rpm > > The result (installed files) is the same all 3 cases: > $ ll /opt/rh/SAP/lib64/ > total 2296 > lrwxrwxrwx. 1 root root 24 Apr 17 16:31 compat-sap-c++-10.so -> > compat-sap-c++-12.1.1.so > lrwxrwxrwx. 1 root root 24 Apr 17 16:31 compat-sap-c++-11.so -> > compat-sap-c++-12.1.1.so > -rwxr-xr-x. 1 root root 2343184 Apr 17 16:31 compat-sap-c++-12.1.1.so > lrwxrwxrwx. 1 root root 24 Apr 17 16:31 compat-sap-c++-12.so -> > compat-sap-c++-12.1.1.so > lrwxrwxrwx. 1 root root 24 Apr 17 16:31 compat-sap-c++-9.so -> > compat-sap-c++-12.1.1.so > lrwxrwxrwx. 1 root root 24 Apr 17 16:31 libstdc++.so.6 -> > compat-sap-c++-12.1.1.so > -rw-r--r--. 1 root root 1022 Apr 17 16:31 README12 > > This is okay. > > But upgrade is different. > Simple upgrade to compat-sap-c++-12.1.1-1.1.el8_8.x86_64.rpm is impossible. > The upgrade requires compat-sap-c++-12.1.1-1.1.el8_8.x86_64.rpm and all > compat-sap-c++-{9,10,11,12}-12.1.1-1.1.el8_8.x86_64.rpm (described in > how-to-install-the-compat-sap-c++-test-packages.pdf). > All the versioned RPMs are installed, but do nothing. That seems to be > awkwardly, but probably necessary, if (current) SAP HANA Installer requires > the versioned package. If I understand correctly, the unversioned compat-sap-c++ doesn't have any dependencies of its own. But if any older compat-sap-c++-{9,10,11,12} packages are installed on the system, then those will need to get upgraded when installing the unversioned compat-sap-c++, and this ought to happen automatically when using yum/dnf and the official package repository. Upgrading from an older compat-sap-c++-12 to the unversioned compat-sap-c++ won't require installing new versions of compat-sap-c++-{9,10,11}. > > I've only tested rpm (-i and -U), no yum or dnf. > On SAP Kernel side this does not matter. The SAP kernel finds the > /opt/rh/SAP/lib64/libstdc++.so.6 properly. > > ToDo on SAP side: > Adapt SAP note 3119751 (https://launchpad.support.sap.com/#/notes/3119751) > when RHEL 8 minor version of feature release is known. |