Sorry, should have trolled the Web first.&nbsp; I see now that this is nothing new, and is caused by a conflict between libnetcdf and libhdf4/5.&nbsp; I&#39;ve resolved this by doing the following:<br><br>1. Removing all hdf libs from my system:<br>
$ sudo apt-get remove libhdf4g libhdf4g-dev libhdf5-serial-1.6.5-0 libhdf5-serial-dev<br><br>2. Doing a &quot;sudo make clean&quot; in my /usr/local/gdal dir<br><br>3. Doing a new configure with &quot;--with-hdf4=no --with-hdf5=no&quot;, then running make.<br>
<br>Seems to work now,<br><br>Thanks.<br>--<br><br><div class="gmail_quote">On Mon, Nov 24, 2008 at 10:07 AM, Roger André <span dir="ltr">&lt;<a href="mailto:randre@gmail.com">randre@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi everyone,<br><br>I&#39;m having some problems getting gdal to read netCDF grid files using gdal-1.5.2 which I have built from source.&nbsp; It is running on an Ubuntu 8.04 machine, and was built after the following dependencies were installed:<br>

<br>&nbsp;&nbsp;&nbsp; $ 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<br><br>I built gdal with the following options:<br><br>

&nbsp; &nbsp; $ 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<br>

&nbsp; <br>When I try to open the file with gdalinfo, I get the following seg fault in /var/log/syslog:<br><br>&nbsp; &nbsp; Nov 24 09:42:34 randre-linux kernel: [ 1921.499150] gdalinfo[6971]: segfault at 00001031 eip b713d886 esp bfefb390 error 4<br>

<br>The same file can be opened with no problem using gdalinfo from FWTools-2.0.6<br><br>Is it possible I am missing some netCDF/HDF fu needed for gdal to work with these sorts of files?<br><br>Thanks in advance for any suggestions,<br>

<br>Roger<br><font color="#888888">--<br><br><br>
</font></blockquote></div><br>