R-ArcGIS/r-bridge

arc.write looking for multiple gdal dll's

Closed this issue · 5 comments

I'm getting the following set of errors when trying to write an sf point data frame to a geodatabase:

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_ECW.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_ECW.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_ECW.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_ECW.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_ECW.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_HDF4.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_HDF4.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_HDF4.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_HDF4.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_HDF4.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_HDF5.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_HDF5.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_HDF5.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_HDF5.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_HDF5.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_JP2KAK.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_JP2KAK.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_JP2KAK.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_JP2KAK.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_JP2KAK.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_JPIPKAK.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_JPIPKAK.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_JPIPKAK.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_JPIPKAK.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_JPIPKAK.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_MG4Lidar.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_MG4Lidar.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_MG4Lidar.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_MG4Lidar.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_MG4Lidar.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_netCDF.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_netCDF.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_netCDF.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_netCDF.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: C:\Program Files\ArcGIS\Pro\bin\gdalplugins\gdal_netCDF.dll
126: The specified module could not be found.

This was working as of 3 months ago and I don't believe I changed anything on my end. Any ideas?

@ChristopherTracey we saw this behaviour for ArcGIS Pr 2.6+ and arcgisbinding v241. We are adding a fix to v242. Will update once the new version is out.

Did you try data2sp and writing it out the sp object?

@orhuna arc.data2sp appears to work fine with no gdal errors.

@ChristopherTracey thanks for confirming. we added a gdal.dll fix for sp in the version in v241. I recommend using sp for now. We have an open issue for the updated sf.

sf issue is carried over to the internal repo.