pstalcup opened a new issue, #1253:
URL: https://github.com/apache/arrow-adbc/issues/1253
When I attempt to install the `red-adbc` gem , it fails.
```
gem install red-adbc
Building native extensions. This could take a while...
ERROR: Error installing red-adbc:
ERROR: Failed to build gem native extension.
current directory:
/Users/pstalcup/.rvm/gems/ruby-3.2.2@tiosftr/gems/red-adbc-0.7.0/dependency-check
/Users/pstalcup/.rvm/rubies/ruby-3.2.2/bin/ruby -rrubygems
/Users/pstalcup/.rvm/rubies/ruby-3.2.2/lib/ruby/gems/3.2.0/gems/rake-13.0.6/exe/rake
RUBYARCHDIR\=/Users/pstalcup/.rvm/gems/ruby-3.2.2@tiosftr/extensions/arm64-darwin-22/3.2.0/red-adbc-0.7.0
RUBYLIBDIR\=/Users/pstalcup/.rvm/gems/ruby-3.2.2@tiosftr/extensions/arm64-darwin-22/3.2.0/red-adbc-0.7.0
rake failed, exit code 1
Gem files will remain installed in
/Users/pstalcup/.rvm/gems/ruby-3.2.2@tiosftr/gems/red-adbc-0.7.0 for inspection.
Results logged to
/Users/pstalcup/.rvm/gems/ruby-3.2.2@tiosftr/extensions/arm64-darwin-22/3.2.0/red-adbc-0.7.0/gem_make.out
```
I had similar failures for trying to install `red-arrow`, and was able to
install it following a suggestion from
https://github.com/apache/arrow/issues/14945#issuecomment-1352598282
However, when I attempt to apply the same technique it says
```
gem install red-adbc -- --with-ldflags="-Wl,-undefined,dynamic_lookup"
Building native extensions with:
'--with-ldflags=-Wl,-undefined,dynamic_lookup'
This could take a while...
ERROR: Error installing red-adbc:
ERROR: Failed to build gem native extension.
current directory:
/Users/pstalcup/.rvm/gems/ruby-3.2.2@tiosftr/gems/red-adbc-0.7.0/dependency-check
/Users/pstalcup/.rvm/rubies/ruby-3.2.2/bin/ruby -rrubygems
/Users/pstalcup/.rvm/rubies/ruby-3.2.2/lib/ruby/gems/3.2.0/gems/rake-13.0.6/exe/rake
RUBYARCHDIR\=/Users/pstalcup/.rvm/gems/ruby-3.2.2@tiosftr/extensions/arm64-darwin-22/3.2.0/red-adbc-0.7.0
RUBYLIBDIR\=/Users/pstalcup/.rvm/gems/ruby-3.2.2@tiosftr/extensions/arm64-darwin-22/3.2.0/red-adbc-0.7.0
--with-ldflags\=-Wl,-undefined,dynamic_lookup
invalid option: --with-ldflags=-Wl,-undefined,dynamic_lookup
rake failed, exit code 1
Gem files will remain installed in
/Users/pstalcup/.rvm/gems/ruby-3.2.2@tiosftr/gems/red-adbc-0.7.0 for inspection.
Results logged to
/Users/pstalcup/.rvm/gems/ruby-3.2.2@tiosftr/extensions/arm64-darwin-22/3.2.0/red-adbc-0.7.0/gem_make.out
```
Is there any way I can install this gem?
--
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]