Changes between Version 6 and Version 7 of BuildingOnUnixWithMinimizedDrivers


Ignore:
Timestamp:
Sep 8, 2008, 12:43:13 PM (16 years ago)
Author:
Even Rouault
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnUnixWithMinimizedDrivers

    v6 v7  
    33'''TODO''': ''This Wiki article is under construction'' -- mloskot
    44
    5 In the meantime, here is shortcut to ./configure options disabling driver and features that can be safely disabled:
     5Here are the ./configure options disabling driver and features that can be safely disabled:
    66
    77{{{
     
    5454}}}
    5555
    56 Additionnaly, if you apply the below patch, you'll get a very minimal GDAL with only GeoTIFF, Imagine HFA (for overviews in HFA format), Raw (for some VRT operations), and VRT (for gdal_translate) support for the raster part, and Shapefile and REC (needed by OpenEV) for the vector part. The python bindings will also work with that minimized build.
     56From r15347, you can also replace --with-libz=internal by --with-libz=no.
     57
     58On my system, here are the dependencies of libgdal.so with such a build :
     59
     60{{{
     61$ ldd libgdal.so
     62        linux-gate.so.1 =>  (0xffffe000)
     63        libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0xb7dca000)
     64        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7db2000)
     65        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7da8000)
     66        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7da4000)
     67        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7cb9000)
     68        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7c94000)
     69        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c87000)
     70        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7b3d000)
     71        libgeos.so.2 => /usr/lib/libgeos.so.2 (0xb7a3d000)
     72        /lib/ld-linux.so.2 (0x80000000)
     73}}}
     74
     75Additionnaly, if you are willing to apply the below patch, you'll get a very minimal GDAL with only GeoTIFF, Imagine HFA (for overviews in HFA format), Raw (for some VRT operations), and VRT (for gdal_translate) support for the raster part, and Shapefile and REC (needed by OpenEV) for the vector part. The python bindings will also work with that minimized build.