gcc-ranlib-4.8: 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/gcc-ranlib-4.8 - from package: gcc-4.8

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