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

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