Clang: error: invalid linker name in argument '-fuse-ld=lld'

I Tried both UE 4.20 and UE dev-vr in linux, whenever I tried to “make”, this message shows up:

clang: error: invalid linker name in argument ‘-fuse-ld=lld’
ERROR: UBT ERROR: Failed to produce item: /home/ego/UnrealEngine-dev-vr/Engine/Binaries/Linux/UnrealHeaderTool
(see …/Programs/UnrealBuildTool/Log_UHT.txt for full exception trace)
Total build time: 0.24 seconds (Local executor: 0.00 seconds)
Error: UnrealHeaderTool failed for target ‘CrashReportClient’ (platform: Linux, module info: /home/ego/UnrealEngine-dev-vr/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest, exit code: OtherCompilationError (5)).
make: *** [Makefile:257: CrashReportClient-Linux-Shipping] Error 5

Have you run SetupToolchain.sh to download and setup the Linux toolchain? If not, you need to install lld on your system using its package manager.

I confirm for 4.19 sudo apt-get install lld fixed the error.

Thank you. That really solved the problem.

Thank you. Problem solved.