How do I fix the ld program (the linker for gcc and g++)

Nick Clifton nickc@redhat.com
Fri Jul 16 13:02:32 GMT 2021


Hi Evan,

> Currently the ld program got corrupted after I accidentally operated make with root privileges (FreeImage from 

This is really a question for your distribution's maintainers...

> How do I fix this problem? Should I just save all my important files somewhere else and reinstall linux on my computer ?

Yes.  You cannot rebuild the linker without having a working linker present
in the build system, so reinstalling is the only real option available.

Cheers
   Nick



More information about the Binutils mailing list