Mingw-packages: jq is missing a dependency on oniguruma

Created on 24 Jun 2016  路  5Comments  路  Source: msys2/MINGW-packages

I installed jq, but running it failed with

 C:/msys64/mingw64/bin/jq.exe: error while loading shared libraries: libwinpthread-1.dll: cannot open shared object file: No such file or directory

Double-clicking from Windows Explorer indicated it was looking for libonig-2.dll. So I installed oniguruma and now it works.

Most helpful comment

pacman -S mingw-w64-x86_64-libwinpthread is needed for jq aparently

All 5 comments

I'd add that installing oniguruma now (at version 6.0.0-1) installed libonig-3.dll, so running jq (1.5-1) fails to run with this error:

jq.exe: error while loading shared libraries: libonig-2.dll: cannot open shared object file: No such file or directory

@vszakats Maybe this is not a best solution but the following works for me

pacman -S mingw-w64-x86_64-jq
pacman -S mingw-w64-x86_64-oniguruma
pacman -D --asdep mingw-w64-x86_64-oniguruma
cp /mingw64/bin/libonig-3.dll /mingw64/bin/libonig-2.dll

Thanks @Den-dp, the cp was enough to make it work in my installation.

Can this be reopend I think its broken again?
image

pacman -S mingw-w64-x86_64-libwinpthread is needed for jq aparently

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ede123 picture Ede123  路  7Comments

kryptan picture kryptan  路  5Comments

MenaceInc picture MenaceInc  路  6Comments

gdo picture gdo  路  8Comments

jagannatharjun picture jagannatharjun  路  3Comments