Skip to content

Commit

Permalink
Added troubleshooting guidance for shared object errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yahgwai authored and hkalodner committed Nov 30, 2021
1 parent 599c0d0 commit 2ddae98
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions docs/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,28 @@ sudo make install-shared
```

#### Troubleshooting
An error like the following means that your gcc compiler doesn't recognise your processor.
```

##### Out-of-date gcc
An error like the following means that your gcc compiler doesn't recognise your processor.

```text
cc1plus: error: bad value (‘tigerlake’) for ‘-mtune=’ switch
cc1plus: note: valid arguments to ‘-mtune=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 generic native
```
If you get it ensure that you're using an up-to-date version of gcc and g++.

##### Shared object errors
When using a Linux distro, if you experience errors like
```text
error while loading shared libraries: librocksdb.so.6.11: cannot open shared object file: No such file or directory
exit status 127
```
when running the dev node or other application it could be because the shared library did not correctly link.
You can run the following command to update shared object links
```sh
sudo /sbin/ldconfig -v
```

## Install Arbitrum

With the dependencies installed, you can now install Arbitrum locally with
Expand Down

0 comments on commit 2ddae98

Please sign in to comment.