[gdal-dev] building gdal-3.3.0-dev with proj free(): invalid pointer

Even Rouault even.rouault at spatialys.com
Sun Mar 7 11:58:02 PST 2021


Chris,


> two version of libproj are involved:
>
> chris at jacie:~$ ldd /usr/local/bin/gdalinfo | grep libproj
> libproj.so.22 => /usr/local/lib/libproj.so.22 (0x00007f3a6cecc000)
> libproj.so.19 => /usr/local/lib/libproj.so.19 (0x00007f3a659da000)

That's definitely the cause of the crash. It is illegal for a process to 
link to several versions of libproj. You need to make sure that your 
GDAL dependencies link against the same libproj version. You likely need 
to rebuild libspatialite or libgeotiff (if using external libgeotiff) 
against the newer PROJ version

Even

-- 

http://www.spatialys.com



More information about the gdal-dev mailing list