SUSE Support

Here When You Need Us

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 15
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

1.Check for the provided source packages of the library file with the following command:
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

Newly installed third party software modified the default library location path to it's own library location.

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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.