#31882: JSONField for SQLite on macos - cannot set DYLD_LIBRARY_PATH
-----------------------------------------+------------------------
               Reporter:  zachvalenta    |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  Uncategorized  |        Version:  3.1
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 Trying to use `JSONField` with SQLite on macOS [Mojave 10.14].

 I followed the instructions for how to enable SQLite's `JSON1` extension
 but was unable to set `DYLD_LIBRARY_PATH` as an environmental variable.

 ```sh
 # attempt to export
 $ export DYLD_FALLBACK_LIBRARY_PATH=path/to/dir
 # no stdout
 $ env | rg DYLD
 ```

 Based on Stack Overflow, inability to set this env var is the result of a
 [macOS security
 policy](https://stackoverflow.com/search?q=DYLD_LIBRARY_PATH+macos).

 Should the [docs for JSONField using
 SQLite](https://code.djangoproject.com/wiki/JSON1Extension) be updated? Is
 there a commonly used workaround to this problem in the Django community?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31882>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/054.857644ec0fb394a7fb57da5441f4dd10%40djangoproject.com.

Reply via email to