sparc64-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

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

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