Unable to patch error : zypper: relocation error: when running zypper or SUSEconnect command
This document (000021208) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 15 For SAP Application
SUSE Linux Enterprise Server 12 For SAP Application
Situation
The following error is returned when running zypper or SUSEconnect command:
Unable to patch error : zypper: relocation error: /usr/lib64/libzypp.so.1722: symbol ENGINE_load_builtin_engines, version OPENSSL_1_1_0 not defined in file libcrypto.so.1.1
Resolution
ldd /usr/bin/openssl | grep "=>" | awk '{print $3}' | xargs rpm -q –whatprovides
ldd /usr/bin/zypper | grep "=>" | awk '{print $3}' | xargs rpm -q --whatprovides
2. Look for orphaned library links as in the following example:
file /<directory>/<Your_software>/lib/libcrypto.so.1.1 is not owned by any package
3. Check the system environment variables as follows:
/usr/bin/env
If the results show a library path location pointing to a installed third party software path rather than the default system library location, for example:
LD_LIBRARY_PATH=/<directory>/<Your_software>/lib:
... remove or adjust the conflicting library path in the ~/.profile and ~/.bashrc files to exclude them and set LD_LIBRARY_PATH to use the default libraries path.
Cause
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021208
- Creation Date: 18-Sep-2023
- Modified Date:18-Sep-2023
-
- SUSE Linux Enterprise Server
- SUSE Linux Enterprise Server for SAP Applications
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com