Keywords: Django - OS X - Technical issue - Other
I have djangostack-3.0.6-2 installed. When I try to enable PostGIS for my database ('CREATE EXTENSION "postgis";'), I get this error:
ERROR: could not load library "/Applications/djangostack-3.0.6-2/postgresql/lib/postgis-3.so": dlopen(/Applications/djangostack-3.0.6-2/postgresql/lib/postgis-3.so, 10): Library not loaded: /bitnami/django2stack-osx-x64/output/sqlite/lib/libsqlite3.0.dylib
Referenced from: /Applications/djangostack-3.0.6-2/postgresql/lib/libproj.18.0.3.dylib
Reason: image not found
Before upgrading to macOS Catalina, I could work around this by creating a link to the dylib in /bitnami/django2stack-osx-x64/output/sqlite/lib/, but now that the root directory is locked in Catalina this is no longer possible.
Same thing happens with djangostack-2.2.12-2.
Is there anything I can do about it?