yaz-asncomp: 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/yaz-asncomp - from package: libyaz-devel

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

On Debian possible default full paths are:

/usr/bin/yaz-asncomp - from package: libyaz4-dev

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