segment_juncs: 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

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/segment_juncs - from package: tophat

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