require_relative': dlopen failed: library "libm.so.6" not found - /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/nokogiri-1.13.3-aarch64-linux/lib/nokogiri/3.1/nokogiri.so (LoadError) from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/nokogiri-1.13.3-aarch64-linux/lib/nokogiri/extension.rb:7:in
<top (required)>'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/nokogiri-1.13.3-aarch64-linux/lib/nokogiri.rb:10:in require_relative' from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/nokogiri-1.13.3-aarch64-linux/lib/nokogiri.rb:10:in
<top (required)>'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.6/lib/active_support/dependencies.rb:332:in require' from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.6/lib/active_support/dependencies.rb:332:in
block in require'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.6/lib/active_support/dependencies.rb:299:in load_dependency' from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.6/lib/active_support/dependencies.rb:332:in
require'
from /data/data/com.termux/files/home/metasploit-framework/metasploit-framework-4.16.4/lib/metasploit/framework.rb:13:in <top (required)>' from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:73:in
require'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:73:in rescue in block in require' from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:51:in
block in require'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:44:in each' from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:44:in
require'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler.rb:176:in require' from /data/data/com.termux/files/home/metasploit-framework/metasploit-framework-4.16.4/config/application.rb:10:in
<top (required)>'
from /data/data/com.termux/files/home/metasploit-framework/metasploit-framework-4.16.4/config/environment.rb:2:in require' from /data/data/com.termux/files/home/metasploit-framework/metasploit-framework-4.16.4/config/environment.rb:2:in
<top (required)>'
from /data/data/com.termux/files/home/metasploit-framework/metasploit-framework-4.16.4/lib/msfenv.rb:18:in require' from /data/data/com.termux/files/home/metasploit-framework/metasploit-framework-4.16.4/lib/msfenv.rb:18:in
<top (required)>'
from /data/data/com.termux/files/usr/bin/msfconsole:18:in require' from /data/data/com.termux/files/usr/bin/msfconsole:18:in
require': cannot load such file -- metasploit-framework (LoadError) from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:60:in
block (2 levels) in require'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:55:in each' from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:55:in
block in require'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:44:in each' from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:44:in
require'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler.rb:176:in require' from /data/data/com.termux/files/home/metasploit-framework/metasploit-framework-4.16.4/config/application.rb:10:in
<top (required)>'
from /data/data/com.termux/files/home/metasploit-framework/metasploit-framework-4.16.4/config/environment.rb:2:in require' from /data/data/com.termux/files/home/metasploit-framework/metasploit-framework-4.16.4/config/environment.rb:2:in
<top (required)>'
from /data/data/com.termux/files/home/metasploit-framework/metasploit-framework-4.16.4/lib/msfenv.rb:18:in require' from /data/data/com.termux/files/home/metasploit-framework/metasploit-framework-4.16.4/lib/msfenv.rb:18:in
<top (required)>'
from /data/data/com.termux/files/usr/bin/msfconsole:18:in require' from /data/data/com.termux/files/usr/bin/msfconsole:18:in
new': can't alloc thread (ThreadError) from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/ruby_thread_local_var.rb:86:in
block in threadlocal_finalizer'
/data/data/com.termux/files/usr/bin/msfconsole: warning: Exception in finalizer #<Proc:0x0000007a03b2cdc0 /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/ruby_thread_local_var.rb:85>
/data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/ruby_thread_local_var.rb:86:in new': can't alloc thread (ThreadError) from /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/ruby_thread_local_var.rb:86:in
block in threadlocal_finalizer'
It occurs when running metasploit locally in the cloned repository.
./msfvenom
gives the same errorError encountered:
System information:
Metasploit version: