ruby on rails - on Linux, how can I resolve WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.0 ? -
mac users, see: mac user , getting warning: nokogiri built against libxml version 2.7.8, has dynamically loaded 2.7.3
i'm using linux (opensuse 12.3) , running nokogiri -v shows:
warning: nokogiri built against libxml version 2.8.0, dynamically loaded 2.9.0 # nokogiri (1.6.0) --- warnings: - nokogiri built against libxml version 2.8.0, dynamically loaded 2.9.0 nokogiri: 1.6.0 ruby: version: 2.0.0 platform: x86_64-linux description: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux] engine: ruby libxml: binding: extension source: packaged libxml2_path: /home/william/.rvm/gems/ruby-2.0.0-p247/gems/nokogiri-1.6.0/ports/x86_64-suse-linux/libxml2/2.8.0 libxslt_path: /home/william/.rvm/gems/ruby-2.0.0-p247/gems/nokogiri-1.6.0/ports/x86_64-suse-linux/libxslt/1.1.26 compiled: 2.8.0 loaded: 2.9.0
the implicit question here seems "why getting warning, , can it?"
you getting warning because nokogiri built (it largely native-extension gem, requiring compilation) against libxml version 2.8.0, , system has since upgraded libxml version 2.9.0.
this warning, not @ error -- in many cases, nokogiri continue work fine newer version of libxml built against.
if run problems or want on safe side, rebuilding nokogiri solve issue -- built against version of libxml installed.
Comments
Post a Comment