LzmaCompress: 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/LzmaCompress - from package: edk2-tools

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