aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar dave caruso <me@paperdave.net> 2023-05-22 10:10:04 -0700
committerGravatar GitHub <noreply@github.com> 2023-05-22 10:10:04 -0700
commit2e54601a2d9ea888eb65235cbcb8262dcfcf6d75 (patch)
treedbebdb7dff79c0158d05a6f948ebf8d65e9ecccf /docs
parent1f0dfacc0de4482e8259e887451f1ad7c9778934 (diff)
downloadbun-2e54601a2d9ea888eb65235cbcb8262dcfcf6d75.tar.gz
bun-2e54601a2d9ea888eb65235cbcb8262dcfcf6d75.tar.zst
bun-2e54601a2d9ea888eb65235cbcb8262dcfcf6d75.zip
document arch linux workaround, see #2664 (#2997)
Diffstat (limited to 'docs')
-rw-r--r--docs/project/development.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/project/development.md b/docs/project/development.md
index 91aff13f5..8f71c234f 100644
--- a/docs/project/development.md
+++ b/docs/project/development.md
@@ -223,3 +223,13 @@ If you see this error when compiling, run:
```bash
$ xcode-select --install
```
+
+## Arch Linux / Cannot find `libatomic.a`
+
+Bun requires `libatomic` to be statically linked. On Arch Linux, it is only given as a shared library, but as a workaround you can symlink it to get the build working locally.
+
+```bash
+$ sudo ln -s /lib/libatomic.so /lib/libatomic.a
+```
+
+The built version of bun may not work on other systems if compiled this way.