When I try to start metasploit: # msfconsole Something went wrong, please open a bug for metasploit on https://bugs.gentoo.org [!] There was an error parsing `Gemfile`: [!] There was an error while loading `metasploit-framework.gemspec`: No such file or directory @ realpath_rec - /root/.msf4/lib. Bundler cannot continue. # from /root/.msf4/metasploit-framework.gemspec:10 # ------------------------------------------- # # require realpaths. > lib = File.realpath(File.expand_path('../lib', __FILE__)) # end # ------------------------------------------- . Bundler cannot continue. # from /root/.msf4/Gemfile:4 # ------------------------------------------- # # spec.add_runtime_dependency '<name>', [<version requirements>] > gemspec name: 'metasploit-framework' # # ------------------------------------------- It seems metasploit is looking for its files in /usr/lib while they are in /usr/lib64. This worked on old profiles, but in 17.1 profiles /usr/lib is no longer a symlink to /usr/lib64.
msfloader calls stuff from /usr/lib even though net-analyzer/metasploit installs into /usr/$(get_libdir) The question is, should msfloader be fixed to check the libdir, or should metasploit be fixed to just install in lib? I'm assuming msfloader, anyone have an opinion?
per discussion in #gentoo I've moved metasploit to /usr/lib