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

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

On Debian possible default full paths are:

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

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