On Mon, 8 Feb 2021, Hernán De Angelis wrote:

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.

Possibly something like
        configure --with-hdf4=/usr/local/lib64
rather than
        configure --with-hdf4
?

--
Andrew C. Aitchison                                     Kendal, UK
                        and...@aitchison.me.uk
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to