You could just install the linux conda version on Redhat. I do this on Redhat 8.5 without issue. I believe the conda linux version contains all those drivers (and python bindings).
-- Michael Smith US Army Corps / Remote Sensing GIS Center From: gdal-dev <gdal-dev-boun...@lists.osgeo.org> on behalf of Roman Breitfuss-Schiffer <roman.schif...@gmail.com> Date: Tuesday, January 11, 2022 at 5:39 AM To: <gdal-dev@lists.osgeo.org> Subject: [gdal-dev] Build GDAL for RedHat 7.9 with python bindings and non-default drivers Dear all! We are currently trying to build a GDAL/OGR installation (version >=3.1) for our server which operates on RedHat 7.9 (RHEL). I have some experience with building GDAL on Ubuntu but have no working workflow for RHEL as the required packages and header files (e.g. gdal-libs, gdal-libs-devel, python-devel etc.) are not available for recent GDAL versions via yum. Problem 1: Does anyone have experience with building GDAL (version >=3.1) on RHEL? We want to build with Python bindings and some non-default drivers (e.g. GPKG (raster), JP2OpenJPEG, MBTILES, WMS/WCS). I tried out the build on Ubuntu with the following ./configure: ./configure --prefix=/usr --libdir=/usr/lib64 --with-armadillo=yes --with-sqlite3=yes --with-spatialite=yes --with-openjpeg --with-geos=yes --with-curl=/usr/bin/curl-config --with-python=yes --with-png=internal --with-jpeg=internal Problem 2: After running the ./configure command the GPKG (raster) driver and the JP2OpenJPEG driver are not listed in misc. gdal formats. ./configure output see attachment. Best regards Roman _______________________________________________ Dipl.-Ing. Roman Breitfuss-Schiffer, MSc. (GIS) _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev