Mention how to fix build crash in the readme. (#2286)

* update linux.md

mention how to fix libcrypt.so.1-related build crash

* Mention Fedora as well (dae)
This commit is contained in:
Ren Tatsumoto 2022-12-30 03:10:37 +00:00 committed by GitHub
parent 2ba67b42af
commit c086ef25b9

View file

@ -29,7 +29,7 @@ $ sudo apt install bash grep findutils curl gcc g++ git rsync ninja-build
## Missing Libraries
If you get errors during startup, try starting with
If you get errors during build or startup, try starting with
QT_DEBUG_PLUGINS=1 ./run
@ -42,6 +42,13 @@ sudo apt install libxcb-icccm4 libxcb-image0 libxcb-keysyms1 \
libxcb-randr0 libxcb-render-util0
```
On some distros such as Arch Linux and Fedora, you may need to install the
`libxcrypt-compat` package if you get an error like this:
```
error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
```
## Audio
To play and record audio during development, install mpv and lame.