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

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