Hi,

As work in C++ inevitably affects C GLib and Ruby it is necessary for me to be 
able to test them locally. I followed instructions here for Macs. Arrow GLib 
for developers was installed. However I can not run GLib tests with bundle exec 
test/run-test.sh Looks like there might be some path problem.

Here is the error message I got. Does anyone know what the problem is? (In case 
you wonder,  '/usr/local/lib/libparquet.400.dylib’ does exist.

(NULL)-WARNING **: Failed to load shared library 
'/usr/local/lib/libparquet-glib.400.dylib' referenced by the typelib: 
dlopen(/usr/local/lib/libparquet-glib.400.dylib, 0x0009): dependent dylib 
'@rpath/libparquet.400.dylib' not found for 
'/usr/local/lib/libparquet-glib.400.dylib'. relative file paths not allowed 
'@rpath/libparquet.400.dylib'
        from 
/Library/Ruby/Gems/2.6.0/gems/gobject-introspection-3.4.3/lib/gobject-introspection/loader.rb:215:in
 `load_object_info'
        from 
/Library/Ruby/Gems/2.6.0/gems/gobject-introspection-3.4.3/lib/gobject-introspection/loader.rb:68:in
 `load_info'
        from 
/Library/Ruby/Gems/2.6.0/gems/gobject-introspection-3.4.3/lib/gobject-introspection/loader.rb:43:in
 `block in load'
        from 
/Library/Ruby/Gems/2.6.0/gems/gobject-introspection-3.4.3/lib/gobject-introspection/repository.rb:34:in
 `block (2 levels) in each'
        from 
/Library/Ruby/Gems/2.6.0/gems/gobject-introspection-3.4.3/lib/gobject-introspection/repository.rb:33:in
 `times'
        from 
/Library/Ruby/Gems/2.6.0/gems/gobject-introspection-3.4.3/lib/gobject-introspection/repository.rb:33:in
 `block in each'
        from 
/Library/Ruby/Gems/2.6.0/gems/gobject-introspection-3.4.3/lib/gobject-introspection/repository.rb:32:in
 `each'
        from 
/Library/Ruby/Gems/2.6.0/gems/gobject-introspection-3.4.3/lib/gobject-introspection/repository.rb:32:in
 `each'
        from 
/Library/Ruby/Gems/2.6.0/gems/gobject-introspection-3.4.3/lib/gobject-introspection/loader.rb:42:in
 `load'
        from 
/Library/Ruby/Gems/2.6.0/gems/gobject-introspection-3.4.3/lib/gobject-introspection.rb:44:in
 `load'
        from 
/Users/karlkatzen/Documents/code/arrow-dev/arrow/c_glib/test/run-test.rb:60:in 
`<main>'
Traceback (most recent call last):
        17: from 
/Users/karlkatzen/Documents/code/arrow-dev/arrow/c_glib/test/run-test.rb:80:in 
`<main>'
        16: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/autorunner.rb:66:in 
`run'
        15: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/autorunner.rb:434:in
 `run'
        14: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/autorunner.rb:106:in
 `block in <class:AutoRunner>'
        13: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/collector/load.rb:38:in
 `collect'
        12: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/collector/load.rb:136:in
 `add_load_path'
        11: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/collector/load.rb:43:in
 `block in collect'
        10: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/collector/load.rb:43:in
 `each'
         9: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/collector/load.rb:46:in
 `block (2 levels) in collect'
         8: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/collector/load.rb:85:in
 `collect_recursive'
         7: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/collector/load.rb:85:in
 `each'
         6: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/collector/load.rb:87:in
 `block in collect_recursive'
         5: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/collector/load.rb:112:in
 `collect_file'
         4: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/collector/load.rb:136:in
 `add_load_path'
         3: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/collector/load.rb:114:in
 `block in collect_file'
         2: from 
/Library/Ruby/Gems/2.6.0/gems/test-unit-3.4.0/lib/test/unit/collector/load.rb:114:in
 `require'
         1: from 
/Users/karlkatzen/Documents/code/arrow-dev/arrow/c_glib/test/test-extension-data-type.rb:18:in
 `<top (required)>'
/Users/karlkatzen/Documents/code/arrow-dev/arrow/c_glib/test/test-extension-data-type.rb:19:in
 `<class:TestExtensionDataType>': uninitialized constant Arrow::ExtensionArray 
(NameError)

Moreover I can not find any way to install Red Arrow for development. Please 
let me know how that can be done. Thanks again!

Ying

Reply via email to