Skip to content

Commit

Permalink
Document cleanse of build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-grande committed Mar 4, 2024
1 parent 576b5b2 commit f085d75
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

```bash
$ sudo apt update
$ sudo apt install -y clang cmake build-essential git cargo
$ git clone https://github.com/romanz/electrs
$ sudo apt install -y clang cmake build-essential git cargo
$ git clone https://github.com/romanz/electrs
$ cd electrs
$ cargo build --locked --release
$ ./target/release/electrs --version # should print the latest version
Expand Down Expand Up @@ -206,6 +206,11 @@ Relevant issues: [#134](https://github.com/romanz/electrs/issues/134) and [#391]

#### Dynamic linking

Note that if you have previously done a static linking build, it is recommended to clean the build artifacts to avoid build errors (e.g. https://github.com/romanz/electrs/issues/1001):
```
$ cargo clean
```

```
$ ROCKSDB_INCLUDE_DIR=/usr/include ROCKSDB_LIB_DIR=/usr/lib cargo build --locked --release
```
Expand Down

0 comments on commit f085d75

Please sign in to comment.