hdf4 libraries not found that's what the log says :) do a locate libhdf4 to see where the library is
On Tue, Apr 19, 2011 at 10:24 AM, Knut-Frode Dagestad < [email protected]> wrote: > I am trying to compile GDAL from source with support for HDF4 with: > > ./configure --with-hdf4 > > but get complaints about missing libraries, see extract from config.log: > > ld: library not found for -lmfhdfalt > ... > ld: library not found for -lmfhdf > ... > ld: library not found for -lhdf4 > ... > ld: library not found for -lmfhdf > configure:19940: checking for SDreaddata in -lmfhdf > configure:19965: gcc -o conftest -g -O2 conftest.c -lmfhdf -ldf -lsz > -ljpeg -lz -lz -lpthread -ldl >&5 > ld: library not found for -lmfhdf > configure:20009: error: HDF4 support requested with arg "yes", but neither > hdf4 nor mfhdf lib found > > > Similar errors are also reported by others, e.g. this one using mapserver: > http://osgeo-org.1803224.n2.nabble.com/cannot-find-lmfhdf-td5286909.html > > I have tried with various versions of HDF4, both binaries and compiled from > source. The link above (and also > http://trac.osgeo.org/gdal/wiki/BuildingOnUnix) suggests to try a > "hdf-dev" version. But where can I find such "dev-versions", in my case for > Mac OS X 10.6.7? > > Would it be possible to update GDAL to work with standard HDF4 libraries? > > > Best regards from Knut-Frode > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
