Shared library issue on RedHat: liblzma.so.0

Today I am trying to sudo yum install mongodb-org-shell-4.4.2-1.el6.x86_64.rpm
and getting the error:

Error: Package: mongodb-org-shell-4.4.2-1.el6.x86_64 (/mongodb-org-shell-4.4.2-1.el6.x86_64)
Requires: liblzma.so.0()(64bit)

But when I try sudo yum install xz-libs
I get the message:

Package xz-libs-5.2.2-1.el7.x86_64 already installed and latest version
Nothing to do

So it seems like I am stuck?

Try yum install xz-devel

From the package names it looks like you are installing RedHat 6 version of mongodb-org-shell on RedHat 7

2 Likes

Thank you, that was it!

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.