rapid7 / metasploit-framework

Metasploit Framework
https://www.metasploit.com/
Other
33.03k stars 13.74k forks source link

Unable to start metasploit-framework on Fedora 40 - libcrypt.so.1: cannot open shared object file #19175

Open iRomanyshyn opened 3 weeks ago

iRomanyshyn commented 3 weeks ago

Steps to reproduce

  1. Install using https://docs.metasploit.com/docs/using-metasploit/getting-started/nightly-installers.html#installing-metasploit-on-linux--macos
  2. Try to run msfconsole and get the error: /opt/metasploit-framework/bin/../embedded/bin/ruby: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

Environment

Fedora 40

Metasploit version

Framework: 6.4.8-dev- Console : 6.4.8-dev-

How I fixed this

sudo dnf install libxcrypt-compat