[postgis-users] PostgreSQL 12 and PostGIS

Bo Guo bo.guo at gisticinc.com
Sun Dec 22 18:15:52 PST 2019


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20191222/46d4069a/attachment.html>


More information about the postgis-users mailing list