I am getting this error every time, while compiling programs, configuring and installing some things like binutils, textinfo, etc.:
/usr/local/bin/ld: this linker was not configured to use sysroots
collect2: error: ld returned 1 exit status
When will it come and what is the actual problem? Also, how do I solve it?
I removed binutils using the Synaptic package manager, but with the same result.
Try to use gcc with the following option: gcc --sysroot=/usr/local
But, as the others told you in the comments, don't try to mess your system with critical packages such as the binutils
, except if you know what you are doing.