在运行MinGW一段时间之后,我安装了Cygwin。但是当我尝试编译控制台时,我得到了:
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/cc1.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory
这是什么意思?
我有同样的问题,我找到了解决方案。
根据Cygwin的常见问题解答
问:为什么Windows无法看到C:\ cygwin \ usr \ bin?
答:因为它确实不存在。在cygwin中,/ usr / bin只是/ bin的链接。
因此,尝试将“ C:\ cygwin \ usr \ bin”添加到PATH中是徒劳的。
而是将“ C:\ cygwin64 \ bin”添加到PATH。希望这可以帮助 :)
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句