Forked from devpuppy/nokogiri libxml homebrew lion
Created
September 30, 2012 12:37
-
-
Save xiaolai/3806647 to your computer and use it in GitHub Desktop.
How to fix: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.7.8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FIXME: | |
WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.7.8 | |
or | |
libxml_ruby.bundle: dlsym(0x10fde1900, Init_libxml_ruby): symbol not found | |
gem uninstall nokogiri libxml-ruby | |
brew update | |
brew uninstall libxml2 | |
brew install libxml2 --with-xml2-config | |
brew link libxml2 | |
brew install libxslt | |
brew unlink libxslt | |
gem install nokogiri -v 1.4.4 -- --with-xml2-include=/usr/local/Cellar/libxml2/2.7.8/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.7.8/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26 | |
sources: | |
https://gist.github.com/746966 | |
https://gist.github.com/1226596 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment