[gdal-dev] compile gdal 2.1.3 with HDF5 support on Debian Lennie
Rainer M Krug
Rainer at krugs.de
Fri Jan 27 05:28:21 PST 2017
Hi
We am working on a docker image for spatial analysis using R (see
https://github.com/rocker-org/rocker/issues/213 for the discussion) and
I am struggling to get gdal compiled with HDF5 support.
I install the following dependencies:
--8<---------------cut here---------------start------------->8---
apt-get install -y --no-install-recommends \
libproj-dev \
libgeos-dev \
## hdf4
libhdf4-alt-dev \
## hdf5
libhdf5-dev \
libhdf5-serial-dev \
zlib1g-dev \
## sqlite
libsqlite3-dev \
## freexl
libfreexl.dev \
## odbc
unixodbc-dev \
## diverse
libexpat1-dev \
libxerces-c-dev \
libnetcdf-dev \
libudunits2-dev \
## KML
libkml-dev
--8<---------------cut here---------------end--------------->8---
and use the following configure options
--8<---------------cut here---------------start------------->8---
./configure \
--with-geotiff \
--with-sqlite3 \
--with-freexl \
--with-spatialite \
--with-geos \
--with-hdf4 \
--with-hdf5 \
--with-libjson-c \
--with-netcdf \
--with-odbc \
--with-curl \
--without-grass \
--without-libgrass
--8<---------------cut here---------------end--------------->8---
But I get the following message in the configure output
,----
| checking for H5Fopen in -lhdf5... no
`----
which than results in
,----
| HDF5 support: no
`----
Any ideas what I am missing?
Thanks,
Rainer
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
More information about the gdal-dev
mailing list