libwinpthread-1.dll: 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/i686-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll - from package: mingw32-winpthreads
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll - from package: mingw64-winpthreads

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