Closed
Description
I'm using docker with Ruby alpine 3.1 image (on Mac M2 if that matters) and got this error:
/usr/local/bundle/gems/activesupport-6.1.7/lib/active_support/dependencies.rb:332:in `require': cannot load such file -- sqlite3/sqlite3_native (LoadError)
...
Error relocating /usr/local/bundle/gems/sqlite3-1.5.4-aarch64-linux/lib/sqlite3/3.1/sqlite3_native.so: fcntl64: symbol not found - /usr/local/bundle/gems/sqlite3-1.5.4-aarch64-linux/lib/sqlite3/3.1/sqlite3_native.so (LoadError)
The same situation happened with the gem 'nokogiri', but this is solved by adding gcompat lib (solution from docs https://nokogiri.org/tutorials/installing_nokogiri.html#linux-musl-error-loading-shared-library).
Now I make it with gem install sqlite3 --platform=ruby
but native build could be much better for build time
Metadata
Metadata
Assignees
Labels
No labels