[GRASS-dev] Reasons for GDAL dynamic library load in code?
Vaclav Petras
wenzeslaus at gmail.com
Thu Apr 7 08:10:32 PDT 2022
Hi devs,
We are about to remove dynamic loading of GDAL from the raster library code
in #2290. GDAL will then be loaded as any other library by the system.
https://github.com/OSGeo/grass/pull/2290
Currently, the libraries are loaded with dlopen and LoadLibrary and
GDAL_DYNAMIC is set to enable that code. This was introduced in 2008 by
Glynn in r33559.
https://github.com/OSGeo/grass/commit/265039761908433c58b07b9b47fcb16f5126e88c
https://trac.osgeo.org/grass/changeset/33559
To be sure removing it completely is a good step, I wanted to check the
original motivation. Any ideas? The commit message doesn't mention the
motivation and I'm not getting anything from Internet searches.
Let me know what you think.
Best,
Vaclav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20220407/40d6082a/attachment.html>
More information about the grass-dev
mailing list