encode64.pl: 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/share/dotlrn/bin/encode64.pl - from package: dotlrn
/usr/share/openacs/bin/encode64.pl - from package: openacs

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