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

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

On Debian possible default full paths are:

/usr/bin/llvm-ranlib - from package: llvm
/usr/lib/llvm-3.4/bin/llvm-ranlib - from package: llvm-3.4
/usr/lib/llvm-3.5/bin/llvm-ranlib - from package: llvm-3.5

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