amoeba commented on issue #41448:
URL: https://github.com/apache/arrow/issues/41448#issuecomment-2084418624
On one of my ARM Macs, I was getting a similar error to @ianmcook when
installing red-arrow but didn't yet run `gem install` with `-V` to get more
output. I'll do that tomorrow when I have access to the machine. The rest of
this may be related but may not be...
I just tried on another ARM Mac and red-arrow appears to install
successfully but I get some odd warnings while it installs:
```
$ ruby -v
ruby 3.3.1 (2024-04-23 revision c56cd86388) [arm64-darwin23]
$ gem -v
3.5.9
$ gem install red-arrow
...>%...
linking shared-object arrow.bundle
ld: warning: ignoring duplicate libraries: '-larrow'
ld: warning: ignoring file
'/usr/local/Cellar/glib/2.76.3/lib/libgobject-2.0.0.dylib': found architecture
'x86_64', required architecture 'arm64'
ld: warning: ignoring file
'/usr/local/Cellar/glib/2.76.3/lib/libglib-2.0.0.dylib': found architecture
'x86_64', required architecture 'arm64'
ld: warning: ignoring file
'/usr/local/Cellar/gettext/0.21.1/lib/libintl.8.dylib': found architecture
'x86_64', required architecture 'arm64'
...>%...
```
I do have an x86 brew install in /usr/local (native brew is in /opt) but
it's not active in my shell so I'm not sure how it's picking that up. I ran
into this with R and the arrow R package earlier today so that needs looking
into.
However, while red-arrow installs with success, when I try to require it, I
get errors that look like linking issues:
```
irb(main):003> require 'arrow'
<internal:/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in
`require':
dlopen(/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/glib2-4.2.2/lib/glib2.bundle,
0x0009): symbol not found in flat namespace '_g_ascii_table' -
/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/glib2-4.2.2/lib/glib2.bundle
(LoadError)
from
<internal:/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in
`require'
from
/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/glib2-4.2.2/lib/glib2.rb:117:in
`<top (required)>'
from
<internal:/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in
`require'
from
<internal:/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in
`require'
from
/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection.rb:17:in
`<top (required)>'
from
<internal:/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in
`require'
from
<internal:/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in
`require'
from
/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/gio2-4.2.2/lib/gio2.rb:17:in
`<top (required)>'
from
<internal:/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in
`require'
from
<internal:/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in
`require'
from
/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/red-arrow-16.0.0/lib/arrow.rb:19:in
`<top (required)>'
from
<internal:/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in
`require'
from
<internal:/Users/bryce/.local/share/mise/installs/ruby/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in
`require'
from (irb):3:in `<main>'
from <internal:kernel>:187:in `loop'
from /Users/bryce/.gem/ruby/3.3.0/gems/irb-1.12.0/exe/irb:9:in `<top
(required)>'
... 2 levels...
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]