Created
January 3, 2014 07:36
-
-
Save vladimir-e/8234301 to your computer and use it in GitHub Desktop.
Can't create postgis extension in postgres (geometry field)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
postgres=# create extension if not exists postgis; | |
ERROR: could not load library "/usr/local/Cellar/postgresql/9.3.2/lib/rtpostgis-2.1.so": dlopen(/usr/local/Cellar/postgresql/9.3.2/lib/rtpostgis-2.1.so, 10): Library not loaded: /usr/local/opt/sqlite/lib/libsqlite3.0.8.6.dylib | |
Referenced from: /usr/local/lib/libspatialite.5.dylib | |
Reason: image not found | |
# Solution is to create symlink to sqlite with "the right" name | |
ln -s /usr/local/opt/sqlite/lib/libsqlite3.0.dylib /usr/local/opt/sqlite/lib/libsqlite3.0.8.6.dylib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment