[Osgeo4w-trac] [osgeo4w] #897: GRASS: Function GDALRegister ... did not register a driver ... (it needs to be built against GDAL 3.12)
OSGeo4W
trac_osgeo4w at osgeo.org
Sat Dec 13 01:36:55 PST 2025
#897: GRASS: 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: | Resolution:
Keywords: |
------------------------+----------------------------
Description changed by andreaerdna:
Old description:
> Running QGIS LTR 3.40.13 (QGIS-OSGeo4W-3.40.13-1.msi) on Windows 10, when
> a GRASS processing algorithm is executed involving vector or raster input
> layer of various formats, then the following error messages are printed
> in the processing algorithm's log depending on the format, e.g.:
>
> {{{
> 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: Unable to open datasource ...>
> }}}
>
> This also prevents GRASS to correctly import and use various raster
> formats.
>
> 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, GRASS-GIS is built against GDAL 3.11 and
> thus it fails to correctly load the GDAL plugins built against GDAL 3.12.
New description:
Running QGIS LTR 3.40.13 (QGIS-OSGeo4W-3.40.13-1.msi) on Windows 10, when
a GRASS processing algorithm is executed involving vector or raster input
layer of various formats, then the following error messages are printed in
the processing algorithm's log depending on the format, e.g.:
{{{
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: Unable to open datasource ...>
}}}
This also prevents GRASS to correctly import and use various raster
formats.
Such errors are probably due to the fact that QGIS is build against GDAL
3.12 and the GDAL plugins installed in apps\gdal\lib\gdalplugins are also
built against GDAL 3.12, while GRASS-GIS (8.4.1-5) shipped by the
installer is built against GDAL 3.11 and thus it fails to correctly load
the GDAL plugins built against GDAL 3.12.
The issue doesn't occur if QGIS used GRASS-GIS 8.4.2-1, which is built
against GDAL 3.12.
--
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/897#comment:1>
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