gshhg_dp: 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/gshhg_dp - from package: GMT

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/lib/gmt/bin/gshhg_dp - from package: GMT

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