eu-ranlib: 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/eu-ranlib - from package: elfutils

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

On Debian possible default full paths are:

/usr/bin/eu-ranlib - from package: elfutils

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