If a data source is created as a plugin and GDALRegisterAll invokes GDALRegister_myDS, won't this cause an error at runtime if the DLL/so is not found?

Does GDAL need to be rebuilt specifically to include support for a particular plugin and then distributed separately?

Is there a repository for plugin DLL/so and how do the shared libraries get there?

Related to this but for the current non-plugin version of the DB2 OGR driver, I added
#ifdef DB2_ENABLED
    RegisterOGRDB2();
#endif
to
OGRRegisterAllInternal() in ogrregisterall.cpp
and
-DDB2_ENABLED
to
ogr\ogrsf_frmts\generic\makefile.vc

This works ok for the current ODBC-based implementation which has no external dependencies, but it would be better to switch to the DB2 CLI interface (basically the same as ODBC but supports directly platforms other than Windows).

Please excuse the basic questions as I'm not that familiar with how this all works, especially the various macro variables used in makefiles and source code.

Regards,
David

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to