-
-
Notifications
You must be signed in to change notification settings - Fork 822
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
Install of 5.0.9 fails to run on Alpine ("_ZSt28__throw_bad_array_new_lengthv: symbol not found") #1625
Comments
Interestingly, this appears to work successfully on Alpine 3.16, so I suppose this is perhaps a problem of Node's pre-built modules support not being specific enough about musl version or something like that? |
Can confirm -- updating to Alpine 3.16 fixed the issue for my specific need, so I'm 100% OK with this being closed, but I'll let maintainers here make the determination of whether this is still useful to chase further for use cases outside mine. 😄 ❤️ |
I wonder if it would resolve if I targeted a specific Alpine version in our binary building script 🤔 I'll give it a go next week and if it works, I'll release a new version to restore compatibility. |
fixes #1625 - Alpine 3.16 was released in May 2022 and 5.0.9 was the first release since it became the default for `node16-alpine` - compiling on Alpine 3.16 broke compatiblity for Alpine 3.15 - given we should be able to just build with 3.15 and the binaries end up forward-compatible, this commit reverts back to that
fixes #1625 - Alpine 3.16 was released in May 2022 and 5.0.9 was the first release since it became the default for `node16-alpine` - compiling on Alpine 3.16 broke compatiblity for Alpine 3.15 - given we should be able to just build with 3.15 and the binaries end up forward-compatible, this commit reverts back to that
The issue should be fixed in |
Released in v5.0.11 🙂 |
Confirmed working in both Alpine 3.15 and 3.16! Thanks! 😄 |
Issue Summary
When installing on Alpine, the module installs correctly but then fails at runtime.
Relevant logs or output
Version
5.0.9
Node.js Version
16.16.0
How did you install the library?
npm install sqlite3, yarn add sqlite3; Linux, x86_64, Alpine 3.15 (specifically, failing to update https://github.com/docker-library/ghost to Ghost 5.4.1; docker-library/ghost#320)
The text was updated successfully, but these errors were encountered: