[Xapian-devel] Unable to install Xapian-Ruby binary

Martin Margo martin_margo at yahoo.com
Sat Jul 18 00:15:29 BST 2009


Hi,

I'm trying to install Ruby bindings for Xapian 1.3 on Windows. I got the binary from here
http://www.flax.co.uk/xapian_windows.shtml

On that page, I downloaded 
xapian-1.0.13-bindings-ruby.zip MD5 sum: f212416679464b5f2c902a956ad58932 

It is a zip file with 3 files/dirs
docs/
_xapian.so
xapian.rb

I copied _xapian.so to C:\ruby\lib\ruby\1.8\i386-mswin32\_xapian.so
and xapian.rb to C:\Ruby\lib\ruby\1.8\i386-mswin32\..\xapian.rb

My ruby version is 1.8.6 (2008-08-11 patchlevel 287) i386-mswin32

Then I start irb and try to load Xapian module, only to find this error.

C:\>irb
irb(main):001:0> require 'xapian'
LoadError: 14001: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
- C:/Ruby/lib/ruby/1.8/i386-mswin32/_xapian.so
        from C:/Ruby/lib/ruby/1.8/i386-mswin32/_xapian.so
        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from C:/Ruby/lib/ruby/1.8/xapian.rb:40
        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from (irb):1
irb(main):002:0> quit

C:\>

Do you have any ideas how to fix it?

Thanks



More information about the Xapian-devel mailing list