You are not logged in.
Hi all,
I'm trying to upgrade my database server to PostgreSQL 9.4. For some databases I have the PostGIS extension enabled. So when trying to upgrade, it gives this error:
ERROR: could not access file "$libdir/postgis-2.1": No such file or directory
Well, there is something about that on the wiki:
Retrieve postgis-2.1.so from postgis package for version postgresql 9.3 () and copy it to /opt/pgsql-9.3/lib (make sure the privileges are right)
(I changed the version numbers)
Unfortunately, it mentions nothing about where to get this older postgis-2.1 for postgresql 9.3. The one on my system is for PostgreSQL 9.4, so that one gives a server/library version mismatch when trying to upgrade.
Could anyone please clarify where to get this postgis-2.1 for postgresql 9.3? Thanks!
Offline
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Where cam I retrieve postgis-2.1.so for postgresql 9.3?
I also have the same problem.
I did
ln -s /usr/lib/postgresql/postgis-2.1.so /opt/pgsql-9.3/lib/
And I get the error:
pg_dump: [archiver (db)] query failed: ERROR: incompatible library "/opt/pgsql-9.3/lib/postgis-2.1.so": version mismatch
DETAIL: Server is version 9.3, library is version 9.4.
Offline