#34375: GDAL and GIS missing LD Library error message.
-------------------------------------+-------------------------------------
Reporter: Lars Klassen | Owner: Julia
Type: | Singh
Cleanup/optimization | Status: closed
Component: GIS | Version: 4.1
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by Lars Klassen:
Old 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."
New 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 relatively common.
My advise is to print "... If it is, check your environment library path
or try setting GDAL_LIBRARY_PATH in your settings."
--
--
Ticket URL: <https://code.djangoproject.com/ticket/34375#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070186a2bf6220-099b2fab-933d-4d80-b60c-70d71e75776c-000000%40eu-central-1.amazonses.com.