From 2e54601a2d9ea888eb65235cbcb8262dcfcf6d75 Mon Sep 17 00:00:00 2001 From: dave caruso Date: Mon, 22 May 2023 10:10:04 -0700 Subject: [PATCH] document arch linux workaround, see #2664 (#2997) --- docs/project/development.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/project/development.md b/docs/project/development.md index 91aff13f51..8f71c234f0 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.