asranlib: 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/asranlib - from package: cc1111

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