DBDirect-hdbc-postgresql: 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/DBDirect-hdbc-postgresql - from package: libghc-haskelldb-hdbc-postgresql-dev

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