<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hello list,<div> <div>I’m trying unsuccessfully to run GDAL viewshed on the current QGIS LTR version (3.22.16). The installation is as downloaded from <a href="http://qgis.org/">qgis.org</a> (plus a handful of plug-ins) and I’m running MacOS Ventura 13.2. <div><br></div><div>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?)? </div><div><br></div><div>Thanks for any support, Reto</div><div><br></div><div><p style="white-space: pre-wrap; margin: 0px;"><span style="color: rgb(119, 119, 119);">QGIS version: 3.22.16-Białowieża</span></p><p style="white-space: pre-wrap; margin: 0px;"><span style="color: rgb(119, 119, 119);">QGIS code revision: 6f08e4d7b0</span></p><p style="white-space: pre-wrap; margin: 0px;"><span style="color: rgb(119, 119, 119);">Qt version: 5.14.2</span></p><p style="white-space: pre-wrap; margin: 0px;"><span style="color: rgb(119, 119, 119);">Python version: 3.8.7</span></p><p style="white-space: pre-wrap; margin: 0px;"><span style="color: rgb(119, 119, 119);">GDAL version: 3.2.1</span></p><p style="white-space: pre-wrap; margin: 0px;"><span style="color: rgb(119, 119, 119);">GEOS version: 3.9.1-CAPI-1.14.2</span></p><p style="white-space: pre-wrap; margin: 0px;"><span style="color: rgb(119, 119, 119);">PROJ version: Rel. 6.3.2, May 1st, 2020</span></p><p style="white-space: pre-wrap; margin: 0px;">Algorithm started at: 2023-02-13T20:28:21</p><p style="white-space: pre-wrap; margin: 0px;"><span style="font-weight: 600;">Algorithm 'Viewshed' starting…</span></p><p style="white-space: pre-wrap; margin: 0px;">Input parameters:</p><p style="white-space: pre-wrap; margin: 0px;"><span style="font-family: Menlo;">{ '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 }</span></p><p style="white-space: pre-wrap; margin: 0px;"><br></p><p style="white-space: pre-wrap; margin: 0px;">GDAL command:</p><p style="white-space: pre-wrap; margin: 0px;"><span style="font-family: Menlo;">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</span></p><p style="white-space: pre-wrap; margin: 0px;">GDAL command output:</p><p style="white-space: pre-wrap; margin: 0px;"><span style="color: rgb(255, 0, 0);">dyld[36863]: Library not loaded: @rpath/libgdal.28.dylib<br>Referenced from: <C9C36A19-0A99-3DEF-B70E-7D4EE182184C> /Applications/QGIS-LTR.app/Contents/MacOS/bin/_gdal_viewshed<br>Reason: tried: '/System/Volumes/Preboot/Cryptexes/OS@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)</span></p><p style="white-space: pre-wrap; margin: 0px;"><span style="color: rgb(255, 0, 0);">/Applications/QGIS-LTR.app/Contents/MacOS/bin/run_gdal_binary.bash: line 13: 36863 Abort trap: 6 "$THISDIR/_$ALGNAME" "$@"</span></p><p style="white-space: pre-wrap; margin: 0px;"><span style="color: rgb(255, 0, 0);">Process returned error code 134</span></p><p style="white-space: pre-wrap; margin: 0px;">Execution completed in 0.15 seconds</p><p style="white-space: pre-wrap; margin: 0px;">Results:</p><p style="white-space: pre-wrap; margin: 0px;"><span style="font-family: Menlo;">{'OUTPUT': '/private/var/folders/lr/p059sgb56ygbx1bq9_ply6_h0000gn/T/processing_BRNIOm/ca8991bc335c427aa348a87067f1eaf3/OUTPUT.tif'}</span></p><p style="white-space: pre-wrap; margin: 0px;"><br></p><p style="white-space: pre-wrap; margin: 0px;">Loading resulting layers</p><p style="white-space: pre-wrap; margin: 0px;"><span style="color: rgb(255, 0, 0);">The following layers were not correctly generated.<br>• /private/var/folders/lr/p059sgb56ygbx1bq9_ply6_h0000gn/T/processing_BRNIOm/ca8991bc335c427aa348a87067f1eaf3/OUTPUT.tif<br>You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.</span></p></div></div></div></body></html>