gdcmpap3: 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 Debian possible default full paths are:

/usr/bin/gdcmpap3 - from package: libgdcm-tools

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