Skip to content

Commit

Permalink
Update build description for 32-bit OS
Browse files Browse the repository at this point in the history
  • Loading branch information
romanz committed Oct 4, 2021
1 parent 239e465 commit fc81d95
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,13 @@ First build should take ~20 minutes:
$ cargo build --locked --release
```

If RocksDB build fails with "`undefined reference to __atomic_*`" linker errors
(usually happens on a 32-bit OS), set the following environment variable:
```bash
$ RUSTFLAGS="-C link-args=-latomic" cargo build --locked --release
```
Relevant issues: [#134](https://github.com/romanz/electrs/issues/134) and [#391](https://github.com/romanz/electrs/issues/391).

#### Dynamic linking

```
Expand Down

0 comments on commit fc81d95

Please sign in to comment.