Opened 3 years ago
Last modified 3 years ago
#34375 closed Cleanup/optimization
GDAL and GIS missing LD Library error message. — at Initial Version
| Reported by: | Lars Klassen | Owned by: | |
|---|---|---|---|
| Component: | GIS | Version: | 4.1 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
Currently the error message for GDAL and GIS when not locating the required library is:
Could not find the GDAL library (tried "%s"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.
It's probably better to advise checking the Library Path before setting it to the project settings file, maybe as a last resort. For many MacOS homebrew users, the library might be not installed in the default library PATH (for instance, homebrew installs it to /opt/homebrew/lib/), non visible Library paths in default environment is I think relative common.
My advise is to print "... If it is, try checking your environment library path or try setting GDAL_LIBRARY_PATH in your settings.'