[gdal-dev] Compiling GDAL with HDF4 support

Hernán De Angelis variablestarlight at gmail.com
Tue Feb 9 23:24:28 PST 2021


On 2021-02-09 19:34, Markus Metz wrote:
>
>
> On Tue, Feb 9, 2021 at 10:54 AM Hernán De Angelis 
> <variablestarlight at gmail.com <mailto:variablestarlight at gmail.com>> wrote:
> >
> >
> > On 2021-02-09 10:49, Andrew C Aitchison wrote:
> > > On Tue, 9 Feb 2021, Hernán De Angelis wrote:
> > >
> > >> On 2021-02-08 20:22, Markus Metz wrote:
> > >>> Is /usr/local/lib64 known to your system as a path to libraries?
> > >>> Check the env var LD_LIBRARY_PATH or add "/usr/local/lib64" to some
> > >>> file in /etc/ld.so.conf.d/ followed by "ldconfig" as root.
> > >>>
> > >>> You can also set the var LDFLAGS for configure if you have libraries
> > >>> in a nonstandard directory, such as
> > >>> LDFLAGS="/usr/local/lib64" ./configure ...
> > >>>
> > >> Thank you for your suggestion, Markus, but /usr/local/Lib64 is in the
> > >> library path.
>
> Details about the reason for the failure should be at the end of 
> config.log
>
> My wild guess is that a library needed by HDF4 is not linked in.
>
Not wild by any measure, Markus, but rather spot on! There is indeed a 
problem with xdr, one of those libraries (thanks Joe from hdfgroup for 
tracking this down). I do not have time now to investigate this further, 
unfortunately.

Best

Hernán



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210210/42e802ee/attachment.html>


More information about the gdal-dev mailing list