Commit b4acdfb
authored
While setting up tests for the Node.js 25 release, I encountered the following error when
```
libatomic.so.1: cannot open shared object file
```
This release contains an upgrade of V8 to 14.1 and, in the comment [here](https://github.com/nodejs/node/blob/main/tools/v8_gypfiles/v8.gyp#L1342-L1349) in the Node.js v8 tools code mentions:
```
# Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library
# to implement atomic memory access.
```
I manually validated that adding `libatomic1` to the base-images package list restores functionality for the `node` binary.node is executed: (#366)1 parent 3b38239 commit b4acdfb
File tree
4 files changed
+4
-0
lines changed- heroku-22
- heroku-24
4 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
0 commit comments