gdcmimg: 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/gdcmimg - from package: libgdcm-tools

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