I downloaded the process monitor and it helped. It turns out that the netcdf.dll couldn’t be found due to the space in the path.
Thanks a lot for the help. -Fengting From: gdal-dev <gdal-dev-boun...@lists.osgeo.org> On Behalf Of Mateusz Loskot Sent: Friday, February 25, 2022 2:39 AM To: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] [External] : Re: how to build netCDF driver plugin On Fri, 25 Feb 2022, 07:01 Fengting Chen, <fengting.c...@oracle.com<mailto:fengting.c...@oracle.com>> wrote: After fix the plugin library name, the netCDF driver plugin on linux is working. However, it still didn’t work on windows: E:\tmp\gdal>gdalinfo ERROR 1: Can't load requested DLL: E:\tmp\gdal\bin\gdalplugins\gdal_netCDF.dll 126: The specified module could not be found. ERROR 1: Can't load requested DLL: E:\tmp\gdal\bin\gdalplugins\gdal_netCDF.dll 126: The specified module could not be found. I verified that specified gdal_netCDF.dll exists at above directory and netcdf.dll is in the path of %PATH%. Any possible problem? Lots. Use the process monitor (sysinternals, downloadable from Microsoft website) to investigate what DLLs are being loaded and from where, and which fail to be found. -- Mateusz Loskot, http://mateusz.loskot.net<https://urldefense.com/v3/__http:/mateusz.loskot.net__;!!ACWV5N9M2RV99hQ!ZCIAz-yN6aVvZ1OAjila7z6ZB1cy2LKni1jhjEOr8Y_Q4ZMtQokvtSt9iJuOHWErbX4$>
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev