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. |
| 56 | From r15347, you can also replace --with-libz=internal by --with-libz=no. |
| 57 | |
| 58 | On 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 | |
| 75 | Additionnaly, 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. |