#34375: GDAL and GIS missing LD Library error message.
------------------------------------------------+------------------------
Reporter: larcho | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: contrib.postgres | Version: 4.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
------------------------------------------------+------------------------
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>
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/01070186997fd3fc-f7902014-6cbe-4956-b8df-db48962ec90b-000000%40eu-central-1.amazonses.com.