Search code examples
dllcygwin

cygwin: diff.exe: error while loading shared libraries: cygsigsegv-2.dll


I installed the latest cygwin x86-64. I added diffutils to get the basic diff(1) linux command. When I now run it, I get:

diff.exe: error while loading shared libraries: cygsigsegv-2.dll

I did a search for the dll here, but there are zero matches, not found.

I then re-ran the installer and did a search in the installer search box on this dll, and nothing came up.

Can you please advise?


Solution

  • cygsigsegv-2.dll is part of package libsigsegv2, which is required by diffutils:

    @ diffutils
    sdesc: "A GNU collection of diff utilities"
    category: Utils
    requires: cygwin libiconv2 libintl8 libsigsegv2
    

    Installing that package should fix the problem.