OSGeo / homebrew-osgeo4mac

Mac homebrew tap for maintaining a stable work environment for the OSGeo.org geospatial toolset
https://git.io/fhh3X
BSD 3-Clause "New" or "Revised" License
364 stars 112 forks source link

Failure: CREATE EXTENSION postgis #1372

Closed mhazeley closed 4 years ago

mhazeley commented 4 years ago

I've tried doing a clean reinstall of postgis and postgresql and I am still unable to create the postgis extension in a new database.

ERROR: could not load library "/usr/local/lib/postgresql/postgis-3.so": dlopen(/usr/local/lib/postgresql/postgis-3.so, 10): Library not loaded: /usr/local/opt/osgeo-proj/lib/libproj.15.dylib Referenced from: /usr/local/lib/postgresql/postgis-3.so Reason: image not found

alazarolop commented 4 years ago

Which code have you run to install the formulas? Have you tried to built it from source adding the flag --build-from-source?

alazarolop commented 4 years ago

This commit https://github.com/OSGeo/homebrew-osgeo4mac/commit/d84f38b63da91053f61b2569a9e741546b8c9473 should fix it.