From: Rod Dik Date: 2009-06-10T04:30:08+09:00 Subject: Re: Can't install racc Aaron Patterson wrote: > On Wed, Jun 10, 2009 at 04:10:32AM +0900, Rod Dik wrote: >> Thanks, updating gems helped, now I get the following error when >> requiring mechanize >> >> WARNING: Nokogiri was built against LibXML version 2.7.3, but has >> dynamically loaded 2.6.27 >> D:/ruby/lib/ruby/gems/1.8/gems/nokogiri-1.3.1-x86-mswin32/lib/nokogiri/html/document.rb:65: >> [BUG] Segmentation fault >> ruby 1.8.6 (2008-08-11) [i386-mswin32] >> >> Can it be caused by LibXML disparity? I've downloaded it, can't figure >> out yet how to install.. > > If you're also requiring libxml-ruby, that might be your problem. Can > you try requiring nokogiri from irb to verify that? > > Nokogiri ships with libxml2 2.7.3, so if you have it somewhere else in > your path, that would cause the problem. I've found another libxml2.dll file in c:/windows, replaced it with the one from nokogiri (maybe some other soft will search for it there), and it fixed the problem! Thanks a lot! -- Posted via http://www.ruby-forum.com/.