direct_test: 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/direct_test - from package: directfb

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