[postgis-users] PostgreSQL 12 and PostGIS

Regina Obe lr at pcorp.us
Sun Dec 22 18:42:09 PST 2019


Bo,

Do you have the postgis-2.5.so, rtpostgis-2.5.so, postgis_topology-2.5.so
files in

/usr/lib/postgresql/11/lib

And

/usr/lib/postgresql/12/lib

Those are the files it's complaining about. 




From: postgis-users [mailto:postgis-users-bounces at lists.osgeo.org] On Behalf
Of Bo Guo
Sent: Sunday, December 22, 2019 9:16 PM
To: postgis-users at lists.osgeo.org
Subject: Re: [postgis-users] PostgreSQL 12 and PostGIS

Regina and Stefan,
I might have run into a similar issues today as I was  trying to upgrade
PostgreSQL 11 w/ PostGIS 2.5 to PostgreSQL 12 w/ PostGIS 3.0.
The pg_upgradecluster command (sudo pg_upgradecluster -m upgrade 11 main)
failed its check for the following required libraries:
    could not load library "$libdir/postgis-2.5": ERROR:  could not access
file "$libdir/postgis-2.5": No such file or directory

    could not load library "$libdir/rtpostgis-2.5": ERROR:  could not access
file "$libdir/rtpostgis-2.5": No such file or directory

    could not load library "$libdir/postgis_topology-2.5": ERROR:  could not
access file "$libdir/postgis_topology-2.5": No such file or directory

I have postgis-2.5 in the /usr/share/postgresql/11/contrib/ folder AND
/usr/share/postgresql/12/contrib/ folder.  I also have postgis-3.0 under
/usr/share/postgresql/12/contrib/.  
Thanks for your help!
Bo
Gistic Research, Inc.

On 10/4/19 8:16 AM, Regina Obe wrote:
Stefan,
 
Which distro do you get your PostgreSQL 12 from.  I’m assuming
apt.postgresql.org
 
If so you should report on their mailing list, as that would be a packaging
bug,not a PostGIS one and no one on the PostGIS project is on the apt team.
https://www.postgresql.org/list/pgsql-pkg-debian/
 
 
Thanks,
Regina
 
From: postgis-users [mailto:postgis-users-bounces at lists.osgeo.org] On Behalf
Of Stefan Wolf
Sent: Friday, October 4, 2019 6:19 AM
To: postgis-users at lists.osgeo.org
Subject: [postgis-users] PostgreSQL 12 and PostGIS
 
Today I’ve installed the brand new PostgreSQL 12  on Ubuntu 18.04
 
“apt-get install postgis”  will install PostGIS 2.5.2, but the  PATH is
wrong:  /usr/share/postgresql/11/

 
So CREATE EXTENSION postgis will fail.
 
Greetings from Berlin
-Stefan Wolf-
 


_______________________________________________
postgis-users mailing list
postgis-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/postgis-users




More information about the postgis-users mailing list