bf_compact-tokyocabinet: 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/bf_compact-tokyocabinet - from package: bogofilter-tokyocabinet

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