Skip to content

Conversation

@XrXr
Copy link
Contributor

@XrXr XrXr commented Oct 15, 2025

Without this, requiring the native extension fails with:

dlsym(0x6cf51c20, ruby_abi_version): symbol not found - ruby_abi_version

Development versions of ruby require this symbol to be present in native
extensions.

See: ruby/ruby@3df1692

Without this, requiring the native extension fails with:

    dlsym(0x6cf51c20, ruby_abi_version): symbol not found - ruby_abi_version

Development versions of ruby require this symbol to be present in native
extensions.

See: ruby/ruby@3df1692
@SpringMT SpringMT merged commit 5b13b1a into SpringMT:main Oct 16, 2025
6 checks passed
SpringMT added a commit that referenced this pull request Nov 2, 2025
Replace static exports.txt with dynamic export file selection based on
Ruby version, following grpc's approach.

Changes:
- Remove exports.txt
- Add ext-export.txt (for release versions)
- Add ext-export-with-ruby-abi-version.txt (for dev versions)
- Update extconf.rb to dynamically select export file based on Ruby version

This fixes the 'Undefined symbols: _ruby_abi_version' linker error
that occurs when building the gem.

Related:
- https://bugs.ruby-lang.org/issues/19289
- grpc/grpc#31970
- #117
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

Successfully merging this pull request may close these issues.

2 participants