<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Thanks, Regina,</p>
<p>I copied the three 2.5 lib files from<font face="Courier New,
Courier, monospace"> <font size="-1">/usr/lib/postgresql/11/lib</font></font>
to <font size="-1" face="Courier New, Courier, monospace">/usr/lib/postgresql/12/lib</font>:</p>
<p><font size="-1" face="Courier New, Courier, monospace">guob@yuma:/usr/lib/postgresql/12/lib$
ls -al *post*<br>
-rw-r--r-- 1 root root 456832 Dec 22 19:49 postgis-2.5.so<br>
-rw-r--r-- 1 root root 1351536 Oct 28 21:24 postgis-3.so<br>
-rw-r--r-- 1 root root 847424 Oct 28 21:24 postgis_raster-3.so<br>
-rw-r--r-- 1 root root 364224 Dec 22 19:49
postgis_topology-2.5.so<br>
-rw-r--r-- 1 root root 569152 Oct 28 21:24
postgis_topology-3.so<br>
-rw-r--r-- 1 root root 100264 Nov 12 03:33 postgres_fdw.so<br>
-rw-r--r-- 1 root root 399136 Dec 22 19:50 rtpostgis-2.5.so</font><br>
<br>
</p>
<p>However, the three lib files are still in the <font size="-1"
face="Courier New, Courier, monospace">loadable_libraries.txt</font>
file.</p>
<p>Bo<br>
</p>
<div class="moz-cite-prefix">On 12/22/19 7:42 PM, Regina Obe wrote:<br>
</div>
<blockquote type="cite"
cite="mid:000001d5b93a$93153520$b93f9f60$@pcorp.us">
<pre class="moz-quote-pre" wrap="">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 [<a class="moz-txt-link-freetext" href="mailto:postgis-users-bounces@lists.osgeo.org">mailto:postgis-users-bounces@lists.osgeo.org</a>] On Behalf
Of Bo Guo
Sent: Sunday, December 22, 2019 9:16 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a>
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. Im 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.
<a class="moz-txt-link-freetext" href="https://www.postgresql.org/list/pgsql-pkg-debian/">https://www.postgresql.org/list/pgsql-pkg-debian/</a>
Thanks,
Regina
From: postgis-users [<a class="moz-txt-link-freetext" href="mailto:postgis-users-bounces@lists.osgeo.org">mailto:postgis-users-bounces@lists.osgeo.org</a>] On Behalf
Of Stefan Wolf
Sent: Friday, October 4, 2019 6:19 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a>
Subject: [postgis-users] PostgreSQL 12 and PostGIS
Today Ive 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
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/postgis-users">https://lists.osgeo.org/mailman/listinfo/postgis-users</a>
_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/postgis-users">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Regards,
Bo Guo, PhD, PE
President
Gistic Research, Inc.
2033 E Warner Rd Ste 105
Tempe, AZ 85284
<a class="moz-txt-link-abbreviated" href="http://www.gisticinc.com">www.gisticinc.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.youtube.com/linearbench">www.youtube.com/linearbench</a>
Office: 480-656-9962
Cell: 602-570-4697</pre>
</body>
</html>