sdcc-sdranlib: 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/sdcc-sdranlib - from package: sdcc

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