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.
# 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.
Should the docs for JSONField using SQLite be updated? Is there a commonly used workaround to this problem in the Django community?