enc2xs: 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/enc2xs - from package: perl-devel

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/enc2xs - from package: perl

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