[ https://issues.apache.org/jira/browse/ARROW-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661975#comment-17661975 ]
Rok Mihevc commented on ARROW-4953: ----------------------------------- This issue has been migrated to [issue #21459|https://github.com/apache/arrow/issues/21459] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [Ruby] Not loading libarrow-glib > -------------------------------- > > Key: ARROW-4953 > URL: https://issues.apache.org/jira/browse/ARROW-4953 > Project: Apache Arrow > Issue Type: Bug > Components: Ruby > Affects Versions: 0.12.1 > Environment: msys2 windows > Reporter: Dominic Sisneros > Assignee: Kouhei Sutou > Priority: Major > Fix For: 0.13.0 > > > {noformat} > C:\Users\Dominic E Sisneros\Documents\programming\ruby\try_arrow>more > arrow_load.rb > require 'arrow' > n = 1000000 > arr = n.times.to_a.map\{|i| "test"} > strings = Arrow::StringArray.new(arr) > arrow_table = Arrow::Table.new("str" => strings) > arrow_table.save("data.arrow") > Arrow::Table.load("data.arrow") > C:\Users\Dominic E Sisneros\Documents\programming\ruby\try_arrow>ruby > arrow_load.rb > (NULL)-WARNING **: Failed to load shared library 'libarrow-glib-11.dll' > referenced by the typelib: 'libarrow-glib-11.dll': The specified procedure > could not be found. > from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/loader.rb:563:in > `load_interface_info' > from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/loader.rb:70:in > `load_info' > from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/loader.rb:40:in > `block in load' > from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/repository.rb:34:in > `block (2 levels) in each' > from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/repository.rb:33:in > `times' > from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/repository.rb:33:in > `block in each' > from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/repository.rb:32:in > `each' > from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/repository.rb:32:in > `each' > from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/loader.rb:39:in > `load' > from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/loader.rb:25:in > `load' > from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/red-arrow-0.12.0/lib/arrow/loader.rb:24:in > `load' > from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/red-arrow-0.12.0/lib/arrow.rb:28:in > `<module:Arrow>' > from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/red-arrow-0.12.0/lib/arrow.rb:24:in > `<top (required)>' > from > e:/rubies/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in > `require' > from > e:/rubies/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in > `rescue in require' > from > e:/rubies/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in > `require' > from arrow_load.rb:1:in `<main>' > Traceback (most recent call last): > 2: from arrow_load.rb:1:in `<main>' > 1: from > e:/rubies/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in > `require' > e:/rubies/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in > `require': cannot load such file -- arrow (LoadError) > 16: from arrow_load.rb:1:in `<main>' > 15: from > e:/rubies/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in > `require' > 14: from > e:/rubies/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in > `rescue in require' > 13: from > e:/rubies/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in > `require' > 12: from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/red-arrow-0.12.0/lib/arrow.rb:24:in > `<top (required)>' > 11: from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/red-arrow-0.12.0/lib/arrow.rb:28:in > `<module:Arrow>' > 10: from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/red-arrow-0.12.0/lib/arrow/loader.rb:24:in > `load' > 9: from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/loader.rb:25:in > `load' > 8: from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/loader.rb:42:in > `load' > 7: from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/repository.rb:32:in > `each' > 6: from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/repository.rb:32:in > `each' > 5: from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/repository.rb:33:in > `block in each' > 4: from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/repository.rb:33:in > `times' > 3: from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/repository.rb:34:in > `block (2 levels) in each' > 2: from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/loader.rb:43:in > `block in load' > 1: from > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/gobject-introspection-3.3.5/lib/gobject-introspection/loader.rb:68:in > `load_info' > e:/rubies/Ruby26-x64/lib/ruby/gems/2.6.0/gems/red-arrow-0.12.0/lib/arrow/loader.rb:85:in > `load_object_info': uninitialized constant Arrow::ArrayBuilder (NameError) > C:\Users\Dominic E Sisneros\Documents\programming\ruby\try_arrow> > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)