BackTrack5 r3運行Metasploit報錯,更新卡在pg (0.15.1)的解決辦法
1、修改文件:/opt/ metasploit/ruby/lib/ruby/1.9.1/i686-linux/rbconfig.rb
CONFIG["LIBRUBYARG_SHARED"] =“-Wl,-R -Wl,$(libdir) -L$(libdir) ”
CONFIG["LIBRUBYARG_STATIC"] =“-Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static” [去掉-l$(RUBY_SO_NAME)-static]
! C6 {. t9 s) @+ \: @* `5 j4 Z
2、切換至/opt/metasploit/msf3然後運行/opt/metasploit/ruby/bin/bundle install
實測通過,不會再卡在pg (0.15.1)那裡;運行msfconsole 已更新metasploit v4.8.0-dev。