From cc0ee536f08b0c96b0f70bccc94bd69f2150bffa Mon Sep 17 00:00:00 2001 From: James Leflang Date: Tue, 27 Apr 2021 02:41:34 +0000 Subject: [PATCH] Add note about linker errors for Fedora users (#2009) This PR adds a note to the Fedora section of Linux Dependencies on solving linker errors. Fixes #1815. Co-authored-by: James Leflang <59455417+jleflang@users.noreply.github.com> --- docs/linux_dependencies.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/linux_dependencies.md b/docs/linux_dependencies.md index 5011439e7e..f3ce05e4df 100644 --- a/docs/linux_dependencies.md +++ b/docs/linux_dependencies.md @@ -26,6 +26,23 @@ Please see the ubuntu [WSL documentation](https://wiki.ubuntu.com/WSL) on how to sudo dnf install gcc-c++ libX11-devel alsa-lib-devel systemd-devel ``` +If there are errors with linking during the build process such as: + +```bash + = note: /usr/bin/ld: skipping incompatible /usr/lib/libasound.so when searching for -lasound + /usr/bin/ld: skipping incompatible /usr/lib/libasound.so when searching for -lasound + /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/10/../../../libasound.so when searching for -lasound + /usr/bin/ld: skipping incompatible /lib/libasound.so when searching for -lasound + /usr/bin/ld: skipping incompatible /usr/lib/libasound.so when searching for -lasound + /usr/bin/ld: cannot find -lasound +``` + +Add your arch to the end of the package to remove the linker error. For example: + +```bash +sudo dnf install alsa-lib-devel.x86_64 +``` + ## Arch / Manjaro ```bash