throws libcrypt.so.1 library missing error after upgrading Fedora 30

It is May 2019, Fedora Released their latest version 30.This update has provided many features such us

  • GNOME 3.32 which gives brand new look
  • Performance improved much
  • Linux Kernal 5

However we were facing some issues while upgrading from Fedora 29 to Fedora 30.

It breaks the already installed Ruby. Fedora 30 have included the upgrade of Vagrant 2.2 which causes this failure.

Error throws libcrypt.so.1:

[root@localhost apps]# rvm use ruby-2.3.1
Using /usr/local/rvm/gems/ruby-2.3.1
/usr/local/rvm/rubies/ruby-2.3.1/bin/ruby: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
[root@localhost apps]#

Solution:

Here is the solution I worked out. Mostly this fix will be added in coming fedora releases.

[root@localhost apps]# dnf install libxcrypt-compat

Leave a Reply