[Gdal-dev] HDF config question...

Jeroen Ticheler Jeroen.Ticheler at fao.org
Fri Sep 17 07:45:25 EDT 2004


Hi Nicholas!
I read your (old) thread on problems compiling HDF into GDAL. I found a 
solution (working on MAC OS X) after facing exactly the same error 
message:
on line 226 I added hdf as a format, don't know why it was not there. 
It now reads as

GDAL_FORMATS = 	gxf gtiff hfa hdf4 aigrid aaigrid ceos ceos2 iso8211 
xpm \
		sdts raw dted mem jdem envisat elas fit vrt usgsdem l1b \
		nitf bmp pcidsk \
		@OPT_GDAL_FORMATS@

It than found the libraries.

Before doing this I also ran:

sudo ranlib /usr/local/lib/libmfhdf.a

but I'm not sure if that was needed really.

Hope it still helps, if not maybe it does for others.
Ciao,
Jeroen




More information about the Gdal-dev mailing list