all-things-risingwave
How to troubleshoot 'cannot find ld' error during compilation in Rust project?
I encountered a 'cannot find ld' error while compiling a Rust project. The ld is present in /bin/ld but linked to /bin/ld.gold. How can I troubleshoot and resolve this issue?
pa
pampero
Asked on May 26, 2022
-
Check the ld location on the OS:
- Verify the location of ld on the OS, ensure it is present and accessible.
-
Check the ld link:
- Verify if ld is linked to the correct location, such as ld.gold.
-
Reproduce the issue:
- Try to reproduce the error with a minimal setup to identify the root cause.
-
Write an issue:
- If the problem persists, consider writing an issue with reproducible steps for the project maintainers to investigate further.
May 26, 2022Edited by