[gdal-dev] GDALinfo 3.1.4 gives segmentation fault error
Jorge Gustavo Rocha
jgr at osgeopt.pt
Fri Dec 11 08:28:45 PST 2020
Hi Slav,
You have a local build of gdal, right? Somewhere in
/Users/vskorole/opendap/hyrax/. gdal and proj libraries are picked from
/Users/vskorole/opendap/hyrax/build/deps/
Do have any other gdal installed from packages around?
If you have more than one gdal, seems like a library mismatch issue. If
you have just that gdal built by yourself, seems like a compilation and
deploy issue.
Sorry for not being so helpful, but I'm not a mac user.
Good luck,
Jorge
Às 16:37 de 10/12/20, korolevs at msn.com escreveu:
> Thank you for response.
> On macOS there is no ldd there is equivalent oTool.
> So:
> otool -L /Users/vskorole/opendap/hyrax/build/deps/bin/gdalinfo
> /Users/vskorole/opendap/hyrax/build/deps/bin/gdalinfo:
> /Users/vskorole/opendap/hyrax/build/deps/lib/libgdal.27.dylib (compatibility version 28.0.0, current version 28.4.0)
> /usr/local/opt/openexr/lib/libIlmImf-2_4.24.dylib (compatibility version 24.0.0, current version 24.0.0)
> /usr/local/opt/ilmbase/lib/libImath-2_4.24.dylib (compatibility version 24.0.0, current version 24.0.0)
> /usr/local/opt/ilmbase/lib/libHalf-2_4.24.dylib (compatibility version 24.0.0, current version 24.0.0)
> /usr/local/opt/ilmbase/lib/libIex-2_4.24.dylib (compatibility version 24.0.0, current version 24.0.0)
> /usr/local/opt/ilmbase/lib/libIexMath-2_4.24.dylib (compatibility version 24.0.0, current version 24.0.0)
> /usr/local/opt/ilmbase/lib/libIlmThread-2_4.24.dylib (compatibility version 24.0.0, current version 24.0.0)
> /usr/local/lib/libcrypto.1.1.dylib (compatibility version 1.1.0, current version 1.1.0)
> /usr/local/opt/json-c/lib/libjson-c.5.dylib (compatibility version 5.0.0, current version 5.1.0)
> /usr/local/opt/freexl/lib/libfreexl.1.dylib (compatibility version 3.0.0, current version 3.0.0)
> /usr/local/opt/geos/lib/libgeos_c.1.dylib (compatibility version 15.0.0, current version 15.3.0)
> /usr/local/opt/webp/lib/libwebp.7.dylib (compatibility version 9.0.0, current version 9.0.0)
> /usr/local/opt/openjpeg/lib/libopenjp2.7.dylib (compatibility version 7.0.0, current version 2.3.1)
> /usr/local/opt/jasper/lib/libjasper.4.dylib (compatibility version 4.0.0, current version 5.0.0)
> /usr/local/opt/hdf5/lib/libhdf5.200.dylib (compatibility version 201.0.0, current version 201.0.0)
> /usr/local/opt/giflib/lib/libgif.dylib (compatibility version 0.0.0, current version 7.2.0)
> /usr/local/opt/jpeg/lib/libjpeg.9.dylib (compatibility version 14.0.0, current version 14.0.0)
> /usr/local/opt/libgeotiff/lib/libgeotiff.5.dylib (compatibility version 7.0.0, current version 7.0.0)
> /usr/local/opt/libtiff/lib/libtiff.5.dylib (compatibility version 11.0.0, current version 11.0.0)
> /usr/local/opt/libpng/lib/libpng16.16.dylib (compatibility version 54.0.0, current version 54.0.0)
> /usr/local/opt/cfitsio/lib/libcfitsio.9.dylib (compatibility version 9.0.0, current version 9.3.49)
> /Users/vskorole/opendap/hyrax/build/deps/proj-6/lib/libproj.15.dylib (compatibility version 19.0.0, current version 19.2.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)
> /usr/lib/libsqlite3.dylib (compatibility version 9.0.0, current version 308.5.0)
> /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
> /usr/local/opt/pcre/lib/libpcre.1.dylib (compatibility version 4.0.0, current version 4.12.0)
> /usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 9.0.0)
> /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
> /usr/lib/libxml2.2.dylib (compatibility version 10.0.0, current version 10.9.0)
> /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 902.1.0)
>
> Thank you.
> Slav Korolev.
>
>> On Dec 10, 2020, at 10:00 AM, Jorge Gustavo Rocha <jgr at osgeopt.pt> wrote:
>>
>> Hi Slav,
>>
>> Libraries might be the problem. Can you provide more info, please?
>>
>> Tell us which libraries are being used by gdalinfo. Something like:
>>
>> ldd `which gdalinfo`
>>
>> Regards,
>>
>> Jorge
>>
>> Às 14:31 de 10/12/20, korolevs at msn.com escreveu:
>>> What could be a reason why on MacOS Catalina 10.15.6(19G2021)
>>> galindo http://download.osgeo.org/geotiff/samples/other/erdas_spnad83.tif
>>> gives error /segmentation fault /but
>>> galindo http://download.osgeo.org/geotiff/samples/usgs/o41078a2.tif
>>> does not?
>>>
>>> Slav Korolev
>>> korolevs at msn.com <mailto:korolevs at msn.com>
>>>
>>> _______________________________________________
>>> gdal-dev mailing list
>>> gdal-dev at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>>>
>>
>> --
>> OSGeo Portugal
>> NIF: 509588190
>> email: geral at osgeopt.pt
>> https://www.osgeopt.pt/
>>
>> Próximo evento: SASIG 2017, 20 a 22 de novembro, Porto
>> Mais informações: http://osgeopt.pt/sasig2017/
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
--
OSGeo Portugal
NIF: 509588190
email: geral at osgeopt.pt
https://www.osgeopt.pt/
Próximo evento: SASIG 2017, 20 a 22 de novembro, Porto
Mais informações: http://osgeopt.pt/sasig2017/
More information about the gdal-dev
mailing list