joaquimadraz opened a new issue, #14945:
URL: https://github.com/apache/arrow/issues/14945

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Hello,
   
   I'm having issues running `gem install red-arrow` on a M1 running in 
Rosetta. 
   Can I get some support? Happy to provide more information.
   
   This is the output I'm getting:
   
   ```
   Building native extensions. This could take a while...
   ERROR:  Error installing red-arrow:
        ERROR: Failed to build gem native extension.
   
       current directory: 
/Users/joaquim/.asdf/installs/ruby/3.1.3/lib/ruby/gems/3.1.0/gems/red-arrow-10.0.0/ext/arrow
   /Users/joaquim/.asdf/installs/ruby/3.1.3/bin/ruby -I 
/Users/joaquim/.asdf/installs/ruby/3.1.3/lib/ruby/3.1.0 extconf.rb
   checking --enable-debug-build option... no
   checking C++ compiler... clang++
   checking g++ version... 14 (gnu++17)
   checking for --enable-debug-build option... no
   checking for -Wall option to compiler... yes
   checking for -Wcast-align option to compiler... yes
   checking for -Wextra option to compiler... no
   checking for -Wformat=2 option to compiler... yes
   checking for -Winit-self option to compiler... yes
   checking for -Wlarger-than-65500 option to compiler... yes
   checking for -Wmissing-declarations option to compiler... yes
   checking for -Wmissing-format-attribute option to compiler... yes
   checking for -Wmissing-include-dirs option to compiler... yes
   checking for -Wmissing-noreturn option to compiler... yes
   checking for -Wmissing-prototypes option to compiler... yes
   checking for -Wnested-externs option to compiler... yes
   checking for -Wold-style-definition option to compiler... yes
   checking for -Wpacked option to compiler... yes
   checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes
   checking for -Wpointer-arith option to compiler... yes
   checking for -Wundef option to compiler... yes
   checking for -Wout-of-line-declaration option to compiler... yes
   checking for -Wunsafe-loop-optimizations option to compiler... no
   checking for -Wwrite-strings option to compiler... yes
   checking for Homebrew... yes
   checking for Homebrew... yes
   checking for arrow version (>= 10.0.0)... yes (10.0.1)
   checking for arrow-glib version (>= 10.0.0)... yes (10.0.1)
   creating Makefile
   
   current directory: 
/Users/joaquim/.asdf/installs/ruby/3.1.3/lib/ruby/gems/3.1.0/gems/red-arrow-10.0.0/ext/arrow
   make DESTDIR\= sitearchdir\=./.gem.20221214-24050-ftpiwz 
sitelibdir\=./.gem.20221214-24050-ftpiwz clean
   
   current directory: 
/Users/joaquim/.asdf/installs/ruby/3.1.3/lib/ruby/gems/3.1.0/gems/red-arrow-10.0.0/ext/arrow
   make DESTDIR\= sitearchdir\=./.gem.20221214-24050-ftpiwz 
sitelibdir\=./.gem.20221214-24050-ftpiwz
   compiling arrow.cpp
   compiling converters.cpp
   compiling memory-view.cpp
   compiling raw-records.cpp
   compiling values.cpp
   linking shared-object arrow.bundle
   Undefined symbols for architecture x86_64:
     "_rbgerr_gerror2exception", referenced from:
         red_arrow::check_status(arrow::Status const&&, char const*) in 
converters.o
         red_arrow::check_status(arrow::Status const&&, char const*) in 
raw-records.o
         red_arrow::check_status(arrow::Status const&&, char const*) in values.o
     "_rbgobj_instance_from_ruby_object", referenced from:
         red_arrow::memory_view::primitive_array_get(unsigned long, 
rb_memory_view_t*, int) in memory-view.o
         red_arrow::memory_view::buffer_get(unsigned long, rb_memory_view_t*, 
int) in memory-view.o
         red_arrow::record_batch_raw_records(unsigned long) in raw-records.o
         red_arrow::table_raw_records(unsigned long) in raw-records.o
         red_arrow::array_values(unsigned long) in values.o
         red_arrow::chunked_array_values(unsigned long) in values.o
   ld: symbol(s) not found for architecture x86_64
   clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
   make: *** [arrow.bundle] Error 1
   
   make failed, exit code 2
   ```
   
   ### Component(s)
   
   Ruby


-- 
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]

Reply via email to