4 months ago
$ bunx serve
node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
error: script "serve" exited with code 127
This worked without issues on the exact same codebase before upgrading. No other changes were made on our side, so it seems related to the new railpack release.
Could you help us understand what changed in 0.12.0 and how to resolve this missing libatomic.so.1 dependency?
7 Replies
4 months ago
Duplicate of #node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such, perhaps forward your post there 😄
4 months ago
@rethegreat ^
4 months ago
same here
4 months ago
same here, one thing I have noticed is that as Packages 0.11 was just selecting bun, while 0.12 selects both bun and node
yaziciahmet
same here, one thing I have noticed is that as Packages 0.11 was just selecting bun, while 0.12 selects both bun and node
4 months ago
I fixed it by prefixing the build and start scripts in my package.json (which I specify as cmds in railway.toml) with bun --bun , now it looks like this
"build": "bun --bun next build --turbopack",
"start": "bun --bun next start",Don't know if this should be the final solution, but works
4 months ago
This should be fixed as of 0.13.0 https://github.com/railwayapp/railpack/releases/tag/v0.13.0. Let me know if you run into any issues!