Open blalor opened 7 years ago
Not sure the problem, but I dropped back to 1.9.1 and it installed fine
This installed fine for me with version 1.9.4 of Vagrant.
I get the same error message as blalor with version 1.9.5.
@chrisroberts I noticed that nokogiri was removed for 1.9.5. The install of this plugin worked when Vagrant shipped with nokogiri included...
I've noticed this has already been mentioned here. However export NOKOGIRI_USE_SYSTEM_LIBRARIES=true
does not seem to work for me
Note to folks hit with this:
If you're on OS X and have libiconv installed via homebrew, you can work around this issue by installing nokogiri with the following command line:
LDFLAGS="-L$(brew --prefix libiconv)/lib" CFLAGS="-I$(brew --prefix libiconv)/include" vagrant plugin install nokogiri
gem install nokogiri -- --use-system-libraries
export NOKOGIRI_USE_SYSTEM_LIBRARIES=true
LDFLAGS=$(brew --prefix libiconv)/lib CFLAGS=-I$(brew --prefix libiconv)/include vagrant plugin install vagrant-aws
works for me
I'm able to install the plugin now with the solution above, but can't actually use it.
When I attempt a vagrant up, I get the following error:
require: dlopen(/Users/richardreid/.vagrant.d/gems/2.2.5/extensions/x86_64-darwin-13/2.2.0/nokogiri-1.8.0/nokogiri/nokogiri.bundle, 9): Library not loaded: /vagrant-substrate/staging/embedded/lib/libexslt.0.dylib (LoadError)
I've tried downgrading Vagrant, downgrading/upgrading Nokogiri, changing Ruby versions, and I'm still stumped. Anyone else experienced this?
Needed pkg-config from brew to fix me.
brew install pkg-config
Huh, that's weird…
I have
libiconv
installed via homebrew.