From 2ddae98261d1bfbf5abd9816e91a9878ba9c2e2a Mon Sep 17 00:00:00 2001 From: Chris Buckland Date: Fri, 26 Nov 2021 11:09:44 +0000 Subject: [PATCH] Added troubleshooting guidance for shared object errors --- docs/Installation.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/docs/Installation.md b/docs/Installation.md index 9e5adb8f7b..3034b8748c 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -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