hp_map2gif: 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/hp_map2gif - from package: healpix

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