[gdal-dev] gdal segmentation fault when reading NetCDF grid files
Roger André
randre at gmail.com
Mon Nov 24 13:07:18 EST 2008
Hi everyone,
I'm having some problems getting gdal to read netCDF grid files using
gdal-1.5.2 which I have built from source. It is running on an Ubuntu 8.04
machine, and was built after the following dependencies were installed:
$ sudo apt-get install libnetcdf4 libnetcdf-dev netcdfg-dev netcdf-doc
libhdf4g libhdf4g-dev libhdf5-serial-1.6.5-0 libhdf5-serial-1.6.5-0
libhdf5-serial-dev
I built gdal with the following options:
$ sudo ./configure --with-libz --with-pg=/usr/local/pgsql/bin/pg_config
--with-netcdf --with-png --with-geotiff --with-jpeg --with-gif --with-hdf4
--with-hdf5 --with-jasper --with-geos=/usr/local/bin/geos-config
--with-python
When I try to open the file with gdalinfo, I get the following seg fault in
/var/log/syslog:
Nov 24 09:42:34 randre-linux kernel: [ 1921.499150] gdalinfo[6971]:
segfault at 00001031 eip b713d886 esp bfefb390 error 4
The same file can be opened with no problem using gdalinfo from
FWTools-2.0.6
Is it possible I am missing some netCDF/HDF fu needed for gdal to work with
these sorts of files?
Thanks in advance for any suggestions,
Roger
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20081124/9fa7801d/attachment.html
More information about the gdal-dev
mailing list