You are not logged in.

#1 2015-02-11 09:59:36

sh4wn
Member
Registered: 2013-09-17
Posts: 8

Where to find postgis-2.1.so for PostgreSQL 9.3?

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

#2 2015-02-11 20:55:14

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Where to find postgis-2.1.so for PostgreSQL 9.3?

is it still in your cache?

If not try:

https://wiki.archlinux.org/index.php/Ar … ck_Machine


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2015-06-07 08:48:00

leonidas
Member
From: Greece
Registered: 2012-08-31
Posts: 49
Website

Re: Where to find postgis-2.1.so for PostgreSQL 9.3?

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

Board footer

Powered by FluxBB