-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v.sample fails with "ERROR: Unable to load GDAL library" #45079
Comments
For what it is worth: runs fine on Ubuntu 20.04. |
A similar tool v.what.rast works fine also on Windows. |
The issue doesn't occur using QGIS 3.16.11 on Windows 10 installed via OSGeo4W old (v1/EXE) standalone installer. |
@agiudiceandrea yes, it seems to be a osgeo4w v2 thing only. |
It seems to me the issue occurs using OSGeo4W new (v2/MSI) installers because GRASS needs, in some circumstances, to load one of the GDAL DLLs named in a list ("gdal300.dll", "gdal204.dll", "gdal203.dll", "gdal202.dll", ...), but the OSGeo4W new (v2/MSI) installers don't provide any of them (the provided GDAL DLL is "gdal303.dll"). @anitagraser as a temporary workaround, you could make a copy of the |
@jef-n can that libraries be added to osgeo4w v2? |
Why is this a QGIS issue at all? |
Right, so I guess this must be moved to the osgeo4w tracker? |
No. GRASS |
OSGeo/grass#1872 thanks I was about to file it myself. |
The upstream report OSGeo/grass#1872 was fixed with OSGeo/grass#2290 on Apr 2, 2022. Can this report be closed? |
What is the bug or the crash?
On windows (OSGeo4W QGIS 3.16.11), v.sample fails with "ERROR: Unable to load GDAL library".
May be related to https://gis.stackexchange.com/questions/407986/qgis-3-20-1-unable-to-use-grass-toolbox
Steps to reproduce the issue
Versions
OSGeo4W QGIS 3.16.11
Additional context
Confirmed by @gioman on Telegram
The text was updated successfully, but these errors were encountered: