openrisc-linux-gnu-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/openrisc-linux-gnu-ar - from package: binutils-openrisc-linux-gnu

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