Just to mention that you could have kept hdf5 as it is unrelated to the netcdf / hdf4 issue
Le Monday 24 November 2008 20:57:51 Roger André, vous avez écrit : > Sorry, should have trolled the Web first. I see now that this is nothing > new, and is caused by a conflict between libnetcdf and libhdf4/5. I've > resolved this by doing the following: > > 1. Removing all hdf libs from my system: > $ sudo apt-get remove libhdf4g libhdf4g-dev libhdf5-serial-1.6.5-0 > libhdf5-serial-dev > > 2. Doing a "sudo make clean" in my /usr/local/gdal dir > > 3. Doing a new configure with "--with-hdf4=no --with-hdf5=no", then running > make. > > Seems to work now, > > Thanks. > -- > > On Mon, Nov 24, 2008 at 10:07 AM, Roger André <[EMAIL PROTECTED]> wrote: > > 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 > > -- _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
