[gdal-dev] Building mrsid autoload driver

Even Rouault even.rouault at spatialys.com
Mon Sep 20 12:48:06 PDT 2021


untested: If not already done, "apt install libgeotiff-dev"  and drop 
the --with-geotiff switch

Le 20/09/2021 à 21:44, Craig Leat a écrit :
> 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?
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
http://www.spatialys.com
My software is free, but my time generally not.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210920/77619cc4/attachment.html>


More information about the gdal-dev mailing list