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
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

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

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to