[gdal-dev] Build static GDAL-Lib and static GDAL-Apps

Michael Otto michael.otto at data-experts.de
Mon Feb 12 03:57:30 PST 2024


Hello,

I have been trying for some time to compile GDAL and the GDAL apps as a 
static library / executable programs.

The goal is to cast GDAL and all its dependencies (PROJ / GEOS / all 
dependencies to system libraries / ...) into a static library and to 
create the GDAL apps as static executable programs. 
There should be no dynamic dependencies.

Unfortunately, I have not had any success so far. The library is created 
statically but the apps are not yet.
Does anyone have experience with this topic or possibly a procedure that 
leads to success?

Best regards.
Michael Otto

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240212/30d68150/attachment.htm>


More information about the gdal-dev mailing list