avr-ld: 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 CentOS possible default full paths are:

/usr/bin/avr-ld - from package: avr-binutils

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/avr-ld - from package: binutils-avr

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