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

Charlie Hull charlie at juggler.net
Mon Jul 27 09:00:35 BST 2009


Martin Margo wrote:
> Thanks for your help. I copied over zlib1.dll to 
> 
> C:\gnu\zlib1.dll 
> still the same error
> 
> C:\Ruby\lib\ruby\1.8\i386-mswin32\zlib1.dll
> still the same error
> 
> C:\Ruby\lib\ruby\1.8\zlib1.dll
> still the same error
> 
> Was zlib1.dll compiled statically to the lib or dynamically? which path did it expect the dll to be in?

The same path as the other Xapian files. I'm going to try and reproduce 
this error locally.
> 
> BTW I didn't install the xapian-core package yet on this machine. Is it required?

No - it's all compiled into the bindings.

BTW, no need to reply to both me and the list, it just means I get 
messages twice.

Charlie

> 
> 
> 
> ----- Original Message ----
> From: Charlie Hull <charlie at juggler.net>
> To: Xapian Development <xapian-devel at lists.xapian.org>
> Sent: Friday, July 24, 2009 6:10:17 AM
> Subject: Re: [Xapian-devel] Unable to install Xapian-Ruby binary
> 
> 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
>>
> 
> 
> _______________________________________________
> 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