From 7d220537302a924a6b98b757b6ee2f710be0c04c Mon Sep 17 00:00:00 2001 From: Ren Tatsumoto Date: Fri, 30 Dec 2022 03:10:37 +0000 Subject: [PATCH] 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) --- docs/linux.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/linux.md b/docs/linux.md index 5fbda5c98..2c0e85cb1 100644 --- a/docs/linux.md +++ b/docs/linux.md @@ -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.