On 5/3/20 7:47 PM, Even Rouault wrote: > Looking at what is presumably the native side of ogrListLayers(), > https://salsa.debian.org/r-pkg-team/r-cran-rgdal/-/blob/master/src/ogrsource.cpp#L1090 > > I see it use thes GDAL C++ API. Given that the C++ ABI can change between > GDAL feature > releases (and it did change between 3.0 and 3.1 in the GDALDataset class used > here), if rgdal > isn't rebuilt against GDAL 3.1 headers, crashes are expected.
Why wasn't the SONAME bumped to reflect the ABI breakage? We dropped the virtual dependency that required rebuilding for every GDAL version change because you claimed that this wasn't required any more. It seems we'll need to reintroduce this because the libgdal ABI is not stable. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev