[gdal-dev] Motion: adopt RFC 75: Multidimensional array

Jim Klassen klassen.js at gmail.com
Sun Aug 11 07:12:47 PDT 2019


There could be a vsipreload script that sets the environment variable 
and then execs its parameters similar to how eatmydata [1] works.

[1] https://manpages.debian.org/testing/eatmydata/eatmydata.1.en.html

On 8/7/19 4:10 PM, Even Rouault wrote:
> 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
>


More information about the gdal-dev mailing list