sdranlib: 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/sdranlib - from package: sdcc

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