Error while running Yum on rhel8 Yum error: Import error XZ _5.2 not found
search cancel

Error while running Yum on rhel8 Yum error: Import error XZ _5.2 not found

book

Article ID: 398102

calendar_today

Updated On:

Products

Data Loss Prevention Core Package

Issue/Introduction

Error while running YUM on rhel 9. "ImportError: /aedp69/edp/appdata/DataLossPrevention/ServerPlatformCommon/16.0.10000/Protect/lib/native/liblzma.so.5: version `XZ_5.2' not found (required by /lib64/librpmio.so.8)".

Environment

Rhel 8/9

Detection server or Enforce Server 

Cause

1. dependency was upgraded to a newer version then what DLP expect

2. symlink is broken or missing

 

Resolution

cd /usr/lib64

ls | grep libzma

If the symlink is broken or missing

sudo ln -s -f liblzma.so.5.2.4 liblzma.so.5

Below is an example of a working environment:

Additional Information

WORKAROUND:

you can remove the dependency that is causing an issue. DLP doesn't use this dependency