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

  1. Check the ld location on the OS:

    • Verify the location of ld on the OS, ensure it is present and accessible.
  2. Check the ld link:

    • Verify if ld is linked to the correct location, such as ld.gold.
  3. Reproduce the issue:

    • Try to reproduce the error with a minimal setup to identify the root cause.
  4. 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