[Qgis-user] Library not found for GDAL viewshed
Reto Pauli
reto at paulifamily.ch
Mon Feb 13 11:31:44 PST 2023
Hello list,
I’m trying unsuccessfully to run GDAL viewshed on the current QGIS LTR version (3.22.16). The installation is as downloaded from qgis.org <http://qgis.org/> (plus a handful of plug-ins) and I’m running MacOS Ventura 13.2.
When I run viewshed, I always receive an error message regarding a library not found, see the output copy/paste below. Other functions like slope, hillshade etc. all work well. Is there anything missing from the installation or is there some a wrong path (and how to fix that?)?
Thanks for any support, Reto
QGIS version: 3.22.16-Białowieża
QGIS code revision: 6f08e4d7b0
Qt version: 5.14.2
Python version: 3.8.7
GDAL version: 3.2.1
GEOS version: 3.9.1-CAPI-1.14.2
PROJ version: Rel. 6.3.2, May 1st, 2020
Algorithm started at: 2023-02-13T20:28:21
Algorithm 'Viewshed' starting…
Input parameters:
{ 'BAND' : 1, 'EXTRA' : '', 'INPUT' : '/Users/reto/Documents/Geodaten/DTM/dtm_analysis.tif', 'MAX_DISTANCE' : 10000, 'OBSERVER' : '2743902.619547,1156195.116259 [EPSG:2056]', 'OBSERVER_HEIGHT' : 1, 'OPTIONS' : 'COMPRESS=PACKBITS', 'OUTPUT' : 'TEMPORARY_OUTPUT', 'TARGET_HEIGHT' : 1 }
GDAL command:
gdal_viewshed -b 1 -ox 2743902.619547 -oy 1156195.116259 -oz 1.0 -tz 1.0 -md 10000.0 -f GTiff -co COMPRESS=PACKBITS /Users/reto/Documents/Geodaten/DTM/dtm_analysis.tif /private/var/folders/lr/p059sgb56ygbx1bq9_ply6_h0000gn/T/processing_BRNIOm/ca8991bc335c427aa348a87067f1eaf3/OUTPUT.tif
GDAL command output:
dyld[36863]: Library not loaded: @rpath/libgdal.28.dylib
Referenced from: <C9C36A19-0A99-3DEF-B70E-7D4EE182184C> /Applications/QGIS-LTR.app/Contents/MacOS/bin/_gdal_viewshed
Reason: tried: '/System/Volumes/Preboot/Cryptexes/OS at rpath/libgdal.28.dylib' (no such file), '/usr/local/lib/libgdal.28.dylib' (no such file), '/usr/lib/libgdal.28.dylib' (no such file, not in dyld cache)
/Applications/QGIS-LTR.app/Contents/MacOS/bin/run_gdal_binary.bash: line 13: 36863 Abort trap: 6 "$THISDIR/_$ALGNAME" "$@"
Process returned error code 134
Execution completed in 0.15 seconds
Results:
{'OUTPUT': '/private/var/folders/lr/p059sgb56ygbx1bq9_ply6_h0000gn/T/processing_BRNIOm/ca8991bc335c427aa348a87067f1eaf3/OUTPUT.tif'}
Loading resulting layers
The following layers were not correctly generated.
• /private/var/folders/lr/p059sgb56ygbx1bq9_ply6_h0000gn/T/processing_BRNIOm/ca8991bc335c427aa348a87067f1eaf3/OUTPUT.tif
You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230213/4747a2b8/attachment.htm>
More information about the QGIS-User
mailing list