aarch64-linux-gnu-ld.gold: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/aarch64-linux-gnu-ld.gold - from package: binutils-aarch64-linux-gnu

You may install the required package with command apt-get install {package}
Error in other languages:
aarch64-linux-gnu-ld.gold: bevel nie gevind nie
aarch64-linux-gnu-ld.gold: comandă negăsită
aarch64-linux-gnu-ld.gold: comando não encontrado
aarch64-linux-gnu-ld.gold: commande introuvable
aarch64-linux-gnu-ld.gold: command not found
aarch64-linux-gnu-ld.gold: käsku ei ole
aarch64-linux-gnu-ld.gold: không tìm thấy lệnh
aarch64-linux-gnu-ld.gold: komanda nerasta
aarch64-linux-gnu-ld.gold: Kommando nicht gefunden.
aarch64-linux-gnu-ld.gold: kommandot finns inte
aarch64-linux-gnu-ld.gold: komut yok
aarch64-linux-gnu-ld.gold: nie znaleziono polecenia
aarch64-linux-gnu-ld.gold: níor aimsíodh an t-ordú
aarch64-linux-gnu-ld.gold: no se encontró la orden
aarch64-linux-gnu-ld.gold: no s'ha trobat l'ordre
aarch64-linux-gnu-ld.gold: opdracht niet gevonden
aarch64-linux-gnu-ld.gold: parancs nem található
aarch64-linux-gnu-ld.gold: perintah tidak ditemukan
aarch64-linux-gnu-ld.gold: príkaz nenájdený
aarch64-linux-gnu-ld.gold: příkaz nenalezen
aarch64-linux-gnu-ld.gold: команда не найдена
aarch64-linux-gnu-ld.gold: командата не е открита
aarch64-linux-gnu-ld.gold: 命令找不到
aarch64-linux-gnu-ld.gold: コマンドが見つかりません