Hi all, I have installed xapian ruby binding on my Leopard, but when i use require 'xapian', it's failed, the errors is: >> require 'xapian' LoadError: no such file to load -- _xapian from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/rubygems/custom_require.rb:27:in `require' from /Library/Ruby/Site/1.8/xapian.rb:40 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/rubygems/custom_require.rb:27:in `require' from (irb):1 >> puts $: /Library/Ruby/Site/1.8 /Library/Ruby/Site/1.8/powerpc-darwin9.0 /Library/Ruby/Site/1.8/universal-darwin9.0 /Library/Ruby/Site /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/powerpc-darwin9.0 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/universal-darwin9.0 . => nil >> anyone knows how to solve it? Thanks. - crax
On Fri, Nov 23, 2007 at 02:29:50PM +0800, CraX SUN wrote:> I have installed xapian ruby binding on my Leopard, but when i use > require 'xapian', it's failed, > the errors is: > > >> require 'xapian' > LoadError: no such file to load -- _xapianHow did you do the final install step? Looks like part of the glue that holds Ruby and Xapian together hasn't been copied (probably called _xapian.so or similar). J -- /--------------------------------------------------------------------------\ James Aylett xapian.org james@tartarus.org uncertaintydivision.org