On mercredi 7 août 2019 20:58:54 CEST Joe Lee wrote: > Hi, Even! > > Is there a configure flag for enabling it by default without relying on > LD_PRELOAD=...? (e.g., --with-vsipreload)
No, - this needs to be loaded with LD_PRELOAD because it overrides very common symbols of the libc (fopen, etc..) and thus it needs to be loaded in a special way so that the symbols of vsipreload.so are actually used and not the libc ones. - it is better to keep it in a separate library, because I can easily imagine that having fopen() and the like re-defined in libgdal.so could cause serious mess. So all in all, this is a convenient trick, but this remains an experimental & somewhat dangerous hack to be used in last resort. Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
