Skip to content
Discussion options

You must be logged in to vote

I get the answer! it's the same issue as #24355.
This is caused by a version mismatch of libwinpthread-1.dll. Newer versions of GCC (15.x) require a specific implementation of clock_gettime64 found in the latest MSYS2 libraries. However, another software on system (e.g., Wireshark, Git for Windows, or Android SDK) contains an older version of the same DLL, and its path is prioritized in your system's PATH environment variable.
I ran the command:

PS C:\Users\lph12> where.exe libwinpthread-1.dll

C:\Program Files\Wireshark\libwinpthread-1.dll

C:\msys64\ucrt64\bin\libwinpthread-1.dll

You can see libwinpthread-1.dll in wireshark is priorer than the one in msys64. So you should move up the pa…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CaliInn-Li
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant