Wpscan: Error install Mac OS X El Captain

Created on 18 Oct 2015  路  8Comments  路  Source: wpscanteam/wpscan

Error install Mac OS X El Captain

15:51 $ system_profiler SPSoftwareDataType
Software:

    System Software Overview:

      System Version: OS X 10.11 (15A284)
      Kernel Version: Darwin 15.0.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Secure Virtual Memory: Enabled
15:48 $ git clone https://github.com/wpscanteam/wpscan.git
Cloning into 'wpscan'...
remote: Counting objects: 15082, done.
remote: Total 15082 (delta 0), reused 0 (delta 0), pack-reused 15082
Receiving objects: 100% (15082/15082), 12.95 MiB | 1.59 MiB/s, done.
Resolving deltas: 100% (8923/8923), done.
Checking connectivity... done.

15:48 $ cd wpscan

15:48 $ sudo gem install bundler && sudo bundle install --without test
Successfully installed bundler-1.10.6
Parsing documentation for bundler-1.10.6
1 gem installed
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as
root will break this application for all non-root users on this machine.
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/..
Resolving dependencies...
Using addressable 2.3.8
Using ffi 1.9.10
Using ethon 0.8.0
Using mini_portile 0.6.2
Using nokogiri 1.6.6.2
Using ruby-progressbar 1.7.5
Using terminal-table 1.4.5
Installing typhoeus 0.8.0
Using yajl-ruby 1.2.1
Using bundler 1.10.6
Bundle complete! 10 Gemfile dependencies, 10 gems now installed.
Gems in the group test were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.

15:49 $ ruby wpscan.rb --url
[ERROR] Could not open library 'c': dlopen(c, 5): image not found.
Could not open library 'libc.dylib': dlopen(libc.dylib, 5): image not found

Most helpful comment

I have a hunch that if you install Ruby via RVM it may work. But I'm not certain, it is worth a try.

Instructions from our readme:

cd ~
curl -sSL https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
rvm install 2.2.3
rvm use 2.2.3 --default
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
gem install bundler
git clone https://github.com/wpscanteam/wpscan.git
cd wpscan
gem install bundler
bundle install --without test

All 8 comments

Same exact issue and process here. Any ideas as to how to fix this?

System Software Overview:

  System Version: OS X 10.11 (15A284)
  Kernel Version: Darwin 15.0.0
  Boot Volume: Macintosh HD
  Boot Mode: Normal
  Secure Virtual Memory: Enabled

Are you both using the system Ruby or installed Ruby via RVM?

@ethicalhack3r I am using system ruby.

I have a hunch that if you install Ruby via RVM it may work. But I'm not certain, it is worth a try.

Instructions from our readme:

cd ~
curl -sSL https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
rvm install 2.2.3
rvm use 2.2.3 --default
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
gem install bundler
git clone https://github.com/wpscanteam/wpscan.git
cd wpscan
gem install bundler
bundle install --without test

That worked for me, thank you @ethicalhack3r

This solution worked for me as well. Only difference was I had an issue with /usr/local not being writable that had to be fixed first.

+1 @ethicalhack3r , it works!

Thanks @ethicalhack3r .
I was having the same issue and it worked like a charm.
You rock!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

riramar picture riramar  路  4Comments

MLubinski picture MLubinski  路  10Comments

LynxGeekNYC picture LynxGeekNYC  路  11Comments

erwanlr picture erwanlr  路  6Comments

Wingless-Archangel picture Wingless-Archangel  路  5Comments