首页 > 解决方案 > cygnetcdf-13.dll 的问题需要在 Cygwin 中使用新版本的 CDO

问题描述

我在使用最新版本的 CDO 时遇到问题,例如 CDO-1.9.7.1。当我尝试在 Windows 10 中将任何 CDO 运算符与 Cygwin 一起使用时出现:“加载共享库时出错:cygnetcdf-13.dll:无法打开共享对象文件:没有这样的文件或目录”

我对旧版本的 CDO (<= CDO-1.9.5) 没有任何问题。

有谁知道如何修复它并在带有 Cygwin 的 Windows 10 中使用新版本的 CDO 或 Windows 中的其他 shell 选项?

非常感谢你!

标签: windowsdllcygwincdo-climate

解决方案


使用 cygcheck 找到合适的包:

$ cygcheck -p cygnetcdf-13.dll
Found 4 matches for cygnetcdf-13.dll
libnetcdf13-4.6.0-1 - libnetcdf13: NetCDF (network Common Data Form)
libnetcdf13-4.6.1-1 - libnetcdf13: NetCDF (network Common Data Form)
libnetcdf13-4.6.1-2 - libnetcdf13: NetCDF (network Common Data Form)
netcdf-debuginfo-4.6.1-2 - netcdf-debuginfo: Debug info for netcdf

所以你需要安装libnetcdf13包。

如果您需要查看它需要哪些程序,则在

https://cygwin.com/packages/summary/libnetcdf13.html

depends: cygwin, libcurl4, libgcc1 (x86), libhdf5_101, libhdf5hl_100


推荐阅读