Update troubleshooting

This commit is contained in:
Jim McDonald
2020-07-22 08:48:17 +01:00
parent c1e124fbd3
commit 1d4e52cb49

View File

@@ -1,11 +1,11 @@
# Troubleshooting # Troubleshooting
## Compilation problems ## Compilation problems on Linux
### gcc not found ### gcc not found
### cannot find -lstdc++ ### cannot find -lstdc++
This is usually an error on linux systems. If you receive errors of this type your computer is missing some files to allow `ethdo` to build. To resolve this run the following command: If you receive errors of this type your computer is missing some files to allow `ethdo` to build. To resolve this, run the following command:
```sh ```sh
sudo apt install build-essential libstdc++6 sudo apt install build-essential libstdc++6
@@ -13,6 +13,12 @@ sudo apt install build-essential libstdc++6
and then try to install `ethdo` again. and then try to install `ethdo` again.
## Compilation problems on Windows
### gcc not found
If you receive errors of this type your computer is missing some files to allow `ethdo` to build. To resolve this install gcc by following the instructions at http://mingw-w64.org/doku.php
## ethdo not found after installing ## ethdo not found after installing
This is usually due to an incorrectly set path. Go installs its binaries (such as `ethdo`) in a particular location. The defaults are: This is usually due to an incorrectly set path. Go installs its binaries (such as `ethdo`) in a particular location. The defaults are: