[gdal-dev] Compiling GDAL with HDF4 support
Hernán De Angelis
variablestarlight at gmail.com
Mon Feb 8 00:44:10 PST 2021
Hi everyone
I am trying to compile GDAL 3.2.1 with HDF4 4.2.15. HDF4 is in
/usr/local and subdirectories, but GDAL configure (--with-hdf4) complains:
checking for SDreaddata in -lmfhdfalt... no
checking for SDreaddata in -lmfhdf... no
checking for SDreaddata in -lhdf4... no
checking for SDreaddata in -lmfhdf... no
checking for SDreaddata in -lmfhdf... no
configure: error: HDF4 support requested with arg "yes", but neither
hdf4 nor mfhdf lib found
Yet, in /usr/local/lib64 I find:
/usr/local/lib64/libhdf4.settings
/usr/local/lib64/libmfhdf.a
/usr/local/lib64/libmfhdf.la
Am I missing something? Working in openSUSE Tumbleweed.
Thanks in advance
Hernán
More information about the gdal-dev
mailing list