brew upgrade && brew cleanup I’ve seen that the postgresql server isn’t starting because the data folder has the old version, so I’ve tried with
and upgrade fails with:
pg_dump: [archiver (db)] query failed: ERROR: could not access file "$libdir/postgis-2.4": No such file or directory pg_dump: [archiver (db)] query was: SELECT pg_catalog.pg_get_viewdef('18047'::pg_catalog.oid) AS viewdef
I’ve tried to create a fake symlink like this:
ln -s /usr/local/Cellar/postgis/2.5.0_1/lib/postgresql/postgis-2.5.so /usr/local/lib/postgresql/postgis-2.4.so
however it still complains it’s not finding the 2.4 version, any ideas?