[gdal-dev] dev-version of HDF4
Nikolaos Hatzopoulos
nhatzop at gmail.com
Tue Apr 19 15:51:07 EDT 2011
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 <
knutfrodesoppel at hotmail.com> 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
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110419/64b92969/attachment.html
More information about the gdal-dev
mailing list