gpt4 book ai didi

cygwin - 为什么我无法修复 cygwin1.dll 不匹配问题?

转载 作者:行者123 更新时间:2023-12-04 10:28:48 25 4
gpt4 key购买 nike

我正在尝试执行一个 .sh 脚本(不是我写的),但出现以下错误:

0 [main] echo (5320) C:\Program Files\Git\usr\bin\echo.exe: *** fatal error - cygheap base mismatch detected - 0x180343408/0x180317408.This problem is probably due to using incompatible versions of the cygwin DLL.Search for cygwin1.dll using the Windows Start->Find/Search facilityand delete all but the most recent version. The most recent version shouldreside in x:\cygwin\bin, where 'x' is the drive on which you haveinstalled the cygwin distribution. Rebooting is also suggested if youare unable to find another cygwin DLL.


我试图按照错误中的说明进行操作,但我只有一个 cygwin1.dll 文件。
所以我尝试在 git bash shell 中执行以下命令:

/c/cygwin/bin/man


我得到:

0 [main] man (11952) C:\cygwin\bin\man.exe: *** fatal error - cygheapbase mismatch detected - 0x180317408/0x180343408. This problem isprobably due to using incompatible versions of the cygwin DLL. Searchfor cygwin1.dll using the Windows Start->Find/Search facility anddelete all but the most recent version. The most recent versionshould reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested


我已经尝试在漏洞利用保护面板中禁用 ASRL 选项(正如有人建议的那样)并重新启动,但这并没有解决问题。
如果我写

which -a cygwin1.dll


我得到:

/c/cygwin/bin/cygwin1.dll

/c/cygwin/bin/cygwin1.dll


看起来我有两个 cygwin1.dll 但实际上我只有一个..
几天以来,我一直在寻找可能的解决方案,但似乎没有任何效果。
有什么建议吗?

最佳答案

虽然错误消息提到了 cygwin1.dll ,它被误导为 Git for Windows正在使用 MSYS并且文件被重命名 msys-2.0.dll
不幸的是,MSYS 团队在导入和修改 Cygwin 时忘记更改错误消息。来源:

enter image description here

关于cygwin - 为什么我无法修复 cygwin1.dll 不匹配问题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60507083/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com