qgis / QGIS-Mac-Packager

Scripts for Official QGIS MacOS Packages
https://www.qgis.org
GNU General Public License v2.0
54 stars 21 forks source link

@rpath in gdal_MrSID.dylib #82

Closed PeterPetrik closed 3 years ago

PeterPetrik commented 3 years ago

so when qgis-deps 0.5.4 is used for development the gdal is unable to load this extension

PeterPetrik commented 3 years ago

workaround, run QGIS with GDAL_DRIVER_PATH= ./output/bin/QGIS.app/Contents/MacOS/QGIS or rename the stage/lib/gdalplugins so they are not loaded

PeterPetrik commented 3 years ago

ok, we will solve by compiling MrSID and ECW into folder ${STAGE_PATH}/3rdParty/gdalplugins, where it is not picked by default by GDAL so it does not complain. If someone wants to use it with qgis-deps, need to install the ECW/MrSID SDKs and copy plugins back to /lib/gdalplugins