<div dir="ltr">
<div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>Operating system: Linux Mint 22 Cinnamon</div><div>QGIS version: 3.34.4-Prizen</div><div>GDAL version: 3.10.0dev-1250e96221-dirt</div><div>MrSid DSDK version: 9.5.5.5244

</div><div><br></div><div>I have followed the instructions provided by the <a href="https://gdal.org/en/latest/drivers/raster/mrsid.html" target="_blank">GDAL website</a> to build GDAL from source in conjunction with the MrSid DSDK.</div><div><br></div><div>My cmake command was as follows:</div><div><br></div><div>cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DGDAL_ENABLE_DRIVER_JP2MRSID=ON -DGDAL_USE_MRSID=ON -DMRSID_ROOT=/opt/MrSID_DSDK-9.5.5.5244-rhel9.x86-64.gcc1131/Raster_DSDK -DMRSID_LIBRARY=/opt/MrSID_DSDK-9.5.5.5244-rhel9.x86-64.gcc1131/Raster_DSDK/lib/libltidsdk.so -DMRSID_INCLUDE_DIR=/opt/MrSID_DSDK-9.5.5.5244-rhel9.x86-64.gcc1131/Raster_DSDK/include ..</div><div><br></div><div>As
 instructed, I've also set the LD_LIBRARY_PATH variable to point towards
 the DSDK's /lib/ path by adding the following to me /etc/profile file:</div><div><br></div><div>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/MrSID_DSDK-9.5.5.5244-rhel9.x86-64.gcc1131/Raster_DSDK/lib:/usr/lib</div><div><br></div><div>Using the command line, I'm able to use gdalinfo to read a .sid file's information. I even successfully used gdalwarp on it.</div><div><br></div><div>However, QGIS will not accept this file format, returning a "not a valid or recognized data source" error.</div><div><br></div><div>It
 was my expectation that if MrSid was enabled within GDAL through the 
command line, then QGIS would be able to read it too. Is there an 
additional configuration that I'm missing?</div><div><br></div><div>Thank you,<br></div><div>Andrew Plowright<br></div></div>
</div></div>
</div>

</div>