Skip to content

Multiple .so files? #585

Answered by flavorjones
paddor asked this question in Q&A
Nov 20, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@paddor thanks for asking. The sqlite3 gem has a C extension (this is what we call the ".so" file) to call into libsqlite. The project releases "native" gem packages that include precompiled extensions, to make installation faster and easier. Each minor version of Ruby has a distinct "binary API" (called an "ABI" for application binary interface) that requires the extension to be compiled specifically for it. Rubygems and bundler today only support one gem file for each gemversion+rubyplatform combination, meaning that it's necessary to put a precompiled extension for every supported Ruby version in each native gem.

So, for example, the native gem package for sqlite3 v2.3.0 for linux x86_…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@paddor
Comment options

Answer selected by paddor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #584 on November 21, 2024 14:15.