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

Charlie Hull charlie at juggler.net
Fri Jul 24 14:10:17 BST 2009


Martin Margo wrote:
> 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?

Hi Martin,

I wonder if you might need zlib1.dll ? Try downloading it from here
http://www.zlib.net/
and installing it in the same folder. I'm afraid I'm not a Ruby expert, 
but I do know the Xapian smoketest passed for Ruby...let us know how you 
get on.

Charlie

> 
> Thanks
> 
> _______________________________________________
> Xapian-devel mailing list
> Xapian-devel at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-devel
> 




More information about the Xapian-devel mailing list