[gdal-dev] Building mrsid autoload driver

Craig Leat craig.leat at gmail.com
Mon Sep 20 12:44:13 PDT 2021


Hi,

I have gdal-3.0.4 installed on ubuntu 20.04. I require support for mrsid
format.
I wish to build the mrsid driver plugin only and hopefully avoid building
gdal.

I tried:
$ cd src/gdal-3.0.4+dfsg/frmts/mrsid/pkg
$ ./configure --with-gdal=/usr/bin/gdal-config
--with-mrsid=/opt/MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc531/Raster_DSDK
--with-jp2mrsid=no --with-geotiff=../../gtiff/libgeotiff
...
checking for lt_base.h in
/opt/MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc531/Raster_DSDK/include... found
MrSID DSDK version 7.x or newer.
checking for MG3ImageWriter.h in
/opt/MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc531/Raster_DSDK/include/mrsid_writers...
no encoding support.
checking for MrSID JPEG2000 support... disabled
checking for XTIFFClientOpen in -lgeotiff... no
checking for XTIFFClientOpen in -lgeotiff... (cached) no
configure: error: libgeotiff is required to build GDAL MrSID driver

Should this work?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210920/10911bd2/attachment.html>


More information about the gdal-dev mailing list