Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading shared library libgcc_s.so.1 with Ruby 3.1 builds for musl platforms #51

Open
mudge opened this issue Jan 14, 2025 · 1 comment

Comments

@mudge
Copy link

mudge commented Jan 14, 2025

My latest build with oxidize-rb/actions/cross-gem@v1 has started failing (despite no underlying code changes) but only on Ruby 3.1 and the two musl platforms: aarch64-linux-musl and x86_64-linux-musl, see:

<internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': Error loading shared library libgcc_s.so.1: No such file or directory (needed by /usr/local/bundle/gems/rb-mrml-0.1.0-x86_64-linux-musl/lib/mrml/3.1/mrml.so) - /usr/local/bundle/gems/rb-mrml-0.1.0-x86_64-linux-musl/lib/mrml/3.1/mrml.so (LoadError)

The test runs for the same Ruby version and platform combination from yesterday succeeded:

It looks like cross-gem is still using rb_sys 0.9.107 but my library is now picking up the new 0.9.108.

@mudge
Copy link
Author

mudge commented Jan 14, 2025

Note also that the Ruby 3.1 Alpine image was changed recently, see docker-library/ruby#493

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant