[Osgeo4w-trac] [osgeo4w] #896: SAGA: Function GDALRegister ... did not register a driver ... (it needs to be built against GDAL 3.12)
OSGeo4W
trac_osgeo4w at osgeo.org
Fri Dec 12 18:27:38 PST 2025
#896: SAGA: Function GDALRegister ... did not register a driver ... (it needs to
be built against GDAL 3.12)
------------------------+---------------------------
Reporter: andreaerdna | Owner: osgeo4w-dev@…
Type: defect | Status: new
Priority: normal | Component: Package
Version: | Keywords:
------------------------+---------------------------
Running QGIS LTR 3.40.13 (QGIS-OSGeo4W-3.40.13-1.msi) on Windows 10, when
a SAGA-GIS processing algorithm (provided by the "Processing Saga NextGen
Provider" plugin) involving the SAGA command io_gdal (e.g. "Basic Terrain
Analysis") is executed, then the following error messages are printed in
the processing algorithm's log:
{{{
ERROR 1: Function GDALRegister_ECW_JP2ECW of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_ECW_JP2ECW.dll did
not register a driver ECW
ERROR 1: Function GDALRegister_ECW_JP2ECW of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_ECW_JP2ECW.dll did
not register a driver JP2ECW
ERROR 1: Function GDALRegister_MrSID of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_MrSID.dll did not
register a driver MrSID
ERROR 1: Function GDALRegister_MrSID of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_MrSID.dll did not
register a driver JP2MrSID
ERROR 1: Function GDALRegister_HDF5 of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_HDF5.dll did not
register a driver BAG
ERROR 1: Function GDALRegister_HDF5 of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_HDF5.dll did not
register a driver S102
ERROR 1: Function GDALRegister_HDF5 of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_HDF5.dll did not
register a driver S104
ERROR 1: Function GDALRegister_HDF5 of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_HDF5.dll did not
register a driver S111
ERROR 1: Function GDALRegister_HDF5 of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_HDF5.dll did not
register a driver HDF5
ERROR 1: Function GDALRegister_HDF5 of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_HDF5.dll did not
register a driver HDF5Image
ERROR 1: Function GDALRegister_GEOR of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_GEOR.dll did not
register a driver GeoRaster
ERROR 1: Function RegisterOGRMSSQLSpatial of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\ogr_MSSQLSpatial.dll did
not register a driver MSSQLSpatial
ERROR 1: Function RegisterOGROCI of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\ogr_OCI.dll did not
register a driver OCI
ERROR 1: Function RegisterOGRSOSI of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\ogr_SOSI.dll did not
register a driver SOSI
ERROR 1: Function GDALRegister_ECW_JP2ECW of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_ECW_JP2ECW.dll did
not register a driver ECW
ERROR 1: Function GDALRegister_ECW_JP2ECW of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_ECW_JP2ECW.dll did
not register a driver JP2ECW
ERROR 1: Function GDALRegister_MrSID of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_MrSID.dll did not
register a driver MrSID
ERROR 1: Function GDALRegister_MrSID of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_MrSID.dll did not
register a driver JP2MrSID
ERROR 1: Function GDALRegister_HDF5 of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_HDF5.dll did not
register a driver BAG
ERROR 1: Function GDALRegister_HDF5 of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_HDF5.dll did not
register a driver S102
ERROR 1: Function GDALRegister_HDF5 of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_HDF5.dll did not
register a driver S104
ERROR 1: Function GDALRegister_HDF5 of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_HDF5.dll did not
register a driver S111
ERROR 1: Function GDALRegister_HDF5 of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_HDF5.dll did not
register a driver HDF5
ERROR 1: Function GDALRegister_HDF5 of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_HDF5.dll did not
register a driver HDF5Image
ERROR 1: Function GDALRegister_GEOR of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\gdal_GEOR.dll did not
register a driver GeoRaster
ERROR 1: Function RegisterOGRMSSQLSpatial of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\ogr_MSSQLSpatial.dll did
not register a driver MSSQLSpatial
ERROR 1: Function RegisterOGROCI of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\ogr_OCI.dll did not
register a driver OCI
ERROR 1: Function RegisterOGRSOSI of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\ogr_SOSI.dll did not
register a driver SOSI
[Error] Dataset creation failed: Function RegisterOGRSOSI of
C:\PROGRA~1\QGIS34~1.13\apps\gdal\lib\gdalplugins\ogr_SOSI.dll did not
register a driver SOSI
}}}
Such errors are probably due to the fact that while QGIS is build against
GDAL 3.12 and the GDAL plugins installed in
{{{apps\gdal\lib\gdalplugins}}} are also built against GDAL 3.12,
io_gdal.dll is built against GDAL 3.11 and thus it fails to correctly load
the GDAL plugins built against GDAL 3.12.
This also prevents SAGA-GIS to correctly import and use various raster
formats.
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/896>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the Osgeo4w-trac
mailing list