#34375: GDAL and GIS missing LD Library error message.
-------------------------------------+-------------------------------------
Reporter: larcho | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: contrib.postgres | Version: 4.1
Severity: Normal | Resolution:
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 larcho:
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 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."
--
--
Ticket URL: <https://code.djangoproject.com/ticket/34375#comment:1>
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/01070186998022fb-cb8b53ef-c004-4d28-99a8-c860af445f18-000000%40eu-central-1.amazonses.com.