<div dir="auto"><div dir="auto">MESSAGE TO THE BRITISH ROYAL FAMILY</div><div dir="auto">#RoyalFools #RoyalThieves #RoyalIdiots</div><div dir="auto"><a href="https://www.docdroid.net/RTmOOr6/message-to-the-british-royal-family.pdf">https://www.docdroid.net/RTmOOr6/message-to-the-british-royal-family.pdf</a></div><div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 23 Dec 2019, 04:09 Regina Obe, <<a href="mailto:lr@pcorp.us">lr@pcorp.us</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div class="m_-8488360493816938120WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">NO NO  don’t do that.  Those set of libraries aren’t compatible with each other.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The PostGIS 3.0 and 2.5 from 12 are compatible with each other however.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">So <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">What you want to do is<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">cp /usr/lib/postgresql/12/lib/postgis-3.so /usr/lib/postgresql/12/lib/<a href="http://postgis-2.5.so" target="_blank" rel="noreferrer">postgis-2.5.so</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">cp /usr/lib/postgresql/12/lib/postgis_raster-3.so /usr/lib/postgresql/12/lib/<a href="http://rtpostgis-2.5.so" target="_blank" rel="noreferrer">rtpostgis-2.5.so</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">cp /usr/lib/postgresql/12/lib/postgis_topology-3.so /usr/lib/postgresql/12/lib/<a href="http://postgis_topology-2.5.so" target="_blank" rel="noreferrer">postgis_topology-2.5.so</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Then after the upgrade in each of your databases run:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="background:#f2f2f2;vertical-align:baseline"><b><span style="font-size:12.5pt;font-family:"inherit",serif;color:#993333;border:none windowtext 1.0pt;padding:0in">SELECT</span></b><span style="font-size:12.5pt;font-family:"Courier New";color:#222222"> PostGIS_Extensions_Upgrade</span><span style="font-size:12.5pt;font-family:"Courier New";color:#66cc66;border:none windowtext 1.0pt;padding:0in">()</span><span style="font-size:12.5pt;font-family:"Courier New";color:#222222">;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">And then run it again to rebundle the raster into it’s own extension<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="background:#f2f2f2;vertical-align:baseline"><b><span style="font-size:12.5pt;font-family:"inherit",serif;color:#993333;border:none windowtext 1.0pt;padding:0in">SELECT</span></b><span style="font-size:12.5pt;font-family:"Courier New";color:#222222"> PostGIS_Extensions_Upgrade</span><span style="font-size:12.5pt;font-family:"Courier New";color:#66cc66;border:none windowtext 1.0pt;padding:0in">()</span><span style="font-size:12.5pt;font-family:"Courier New";color:#222222">;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Then if you don’t need raster, you can <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">DROP EXTENSION postgis_raster;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Once you are done upgrading your databases, you can delete thr *-<a href="http://2.5.so" target="_blank" rel="noreferrer">2.5.so</a> files you created in the 12 cluster.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> postgis-users [mailto:<a href="mailto:postgis-users-bounces@lists.osgeo.org" target="_blank" rel="noreferrer">postgis-users-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Bo Guo<br><b>Sent:</b> Sunday, December 22, 2019 10:01 PM<br><b>To:</b> <a href="mailto:postgis-users@lists.osgeo.org" target="_blank" rel="noreferrer">postgis-users@lists.osgeo.org</a><br><b>Subject:</b> Re: [postgis-users] PostgreSQL 12 and PostGIS<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p>Thanks, Regina,<u></u><u></u></p><p>I copied the three 2.5 lib files from<span style="font-family:"Courier New""> </span><span style="font-size:10.0pt;font-family:"Courier New"">/usr/lib/postgresql/11/lib</span> to <span style="font-size:10.0pt;font-family:"Courier New"">/usr/lib/postgresql/12/lib</span>:<u></u><u></u></p><p style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Courier New"">guob@yuma:/usr/lib/postgresql/12/lib$ ls -al *post*<br>-rw-r--r-- 1 root root  456832 Dec 22 19:49 <a href="http://postgis-2.5.so" target="_blank" rel="noreferrer">postgis-2.5.so</a><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 <a href="http://postgis_topology-2.5.so" target="_blank" rel="noreferrer">postgis_topology-2.5.so</a><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 <a href="http://rtpostgis-2.5.so" target="_blank" rel="noreferrer">rtpostgis-2.5.so</a></span><u></u><u></u></p><p>However, the three lib files are still in the <span style="font-size:10.0pt;font-family:"Courier New"">loadable_libraries.txt</span> file.<u></u><u></u></p><p>Bo<u></u><u></u></p><div><p class="MsoNormal">On 12/22/19 7:42 PM, Regina Obe wrote:<u></u><u></u></p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><pre>Bo,<u></u><u></u></pre><pre><u></u> <u></u></pre><pre>Do you have the <a href="http://postgis-2.5.so" target="_blank" rel="noreferrer">postgis-2.5.so</a>, <a href="http://rtpostgis-2.5.so" target="_blank" rel="noreferrer">rtpostgis-2.5.so</a>, <a href="http://postgis_topology-2.5.so" target="_blank" rel="noreferrer">postgis_topology-2.5.so</a><u></u><u></u></pre><pre>files in<u></u><u></u></pre><pre><u></u> <u></u></pre><pre>/usr/lib/postgresql/11/lib<u></u><u></u></pre><pre><u></u> <u></u></pre><pre>And<u></u><u></u></pre><pre><u></u> <u></u></pre><pre>/usr/lib/postgresql/12/lib<u></u><u></u></pre><pre><u></u> <u></u></pre><pre>Those are the files it's complaining about. <u></u><u></u></pre><pre><u></u> <u></u></pre><pre><u></u> <u></u></pre><pre><u></u> <u></u></pre><pre><u></u> <u></u></pre><pre>From: postgis-users [<a href="mailto:postgis-users-bounces@lists.osgeo.org" target="_blank" rel="noreferrer">mailto:postgis-users-bounces@lists.osgeo.org</a>] On Behalf<u></u><u></u></pre><pre>Of Bo Guo<u></u><u></u></pre><pre>Sent: Sunday, December 22, 2019 9:16 PM<u></u><u></u></pre><pre>To: <a href="mailto:postgis-users@lists.osgeo.org" target="_blank" rel="noreferrer">postgis-users@lists.osgeo.org</a><u></u><u></u></pre><pre>Subject: Re: [postgis-users] PostgreSQL 12 and PostGIS<u></u><u></u></pre><pre><u></u> <u></u></pre><pre>Regina and Stefan,<u></u><u></u></pre><pre>I might have run into a similar issues today as I was  trying to upgrade<u></u><u></u></pre><pre>PostgreSQL 11 w/ PostGIS 2.5 to PostgreSQL 12 w/ PostGIS 3.0.<u></u><u></u></pre><pre>The pg_upgradecluster command (sudo pg_upgradecluster -m upgrade 11 main)<u></u><u></u></pre><pre>failed its check for the following required libraries:<u></u><u></u></pre><pre>    could not load library "$libdir/postgis-2.5": ERROR:  could not access<u></u><u></u></pre><pre>file "$libdir/postgis-2.5": No such file or directory<u></u><u></u></pre><pre><u></u> <u></u></pre><pre>    could not load library "$libdir/rtpostgis-2.5": ERROR:  could not access<u></u><u></u></pre><pre>file "$libdir/rtpostgis-2.5": No such file or directory<u></u><u></u></pre><pre><u></u> <u></u></pre><pre>    could not load library "$libdir/postgis_topology-2.5": ERROR:  could not<u></u><u></u></pre><pre>access file "$libdir/postgis_topology-2.5": No such file or directory<u></u><u></u></pre><pre><u></u> <u></u></pre><pre>I have postgis-2.5 in the /usr/share/postgresql/11/contrib/ folder AND<u></u><u></u></pre><pre>/usr/share/postgresql/12/contrib/ folder.  I also have postgis-3.0 under<u></u><u></u></pre><pre>/usr/share/postgresql/12/contrib/.  <u></u><u></u></pre><pre>Thanks for your help!<u></u><u></u></pre><pre>Bo<u></u><u></u></pre><pre>Gistic Research, Inc.<u></u><u></u></pre><pre><u></u> <u></u></pre><pre>On 10/4/19 8:16 AM, Regina Obe wrote:<u></u><u></u></pre><pre>Stefan,<u></u><u></u></pre><pre> <u></u><u></u></pre><pre>Which distro do you get your PostgreSQL 12 from.  I’m assuming<u></u><u></u></pre><pre><a href="http://apt.postgresql.org" target="_blank" rel="noreferrer">apt.postgresql.org</a><u></u><u></u></pre><pre> <u></u><u></u></pre><pre>If so you should report on their mailing list, as that would be a packaging<u></u><u></u></pre><pre>bug,not a PostGIS one and no one on the PostGIS project is on the apt team.<u></u><u></u></pre><pre><a href="https://www.postgresql.org/list/pgsql-pkg-debian/" target="_blank" rel="noreferrer">https://www.postgresql.org/list/pgsql-pkg-debian/</a><u></u><u></u></pre><pre> <u></u><u></u></pre><pre> <u></u><u></u></pre><pre>Thanks,<u></u><u></u></pre><pre>Regina<u></u><u></u></pre><pre> <u></u><u></u></pre><pre>From: postgis-users [<a href="mailto:postgis-users-bounces@lists.osgeo.org" target="_blank" rel="noreferrer">mailto:postgis-users-bounces@lists.osgeo.org</a>] On Behalf<u></u><u></u></pre><pre>Of Stefan Wolf<u></u><u></u></pre><pre>Sent: Friday, October 4, 2019 6:19 AM<u></u><u></u></pre><pre>To: <a href="mailto:postgis-users@lists.osgeo.org" target="_blank" rel="noreferrer">postgis-users@lists.osgeo.org</a><u></u><u></u></pre><pre>Subject: [postgis-users] PostgreSQL 12 and PostGIS<u></u><u></u></pre><pre> <u></u><u></u></pre><pre>Today I’ve installed the brand new PostgreSQL 12  on Ubuntu 18.04<u></u><u></u></pre><pre> <u></u><u></u></pre><pre>“apt-get install postgis”  will install PostGIS 2.5.2, but the  PATH is<u></u><u></u></pre><pre>wrong:  /usr/share/postgresql/11/…<u></u><u></u></pre><pre> <u></u><u></u></pre><pre>So CREATE EXTENSION postgis will fail.<u></u><u></u></pre><pre> <u></u><u></u></pre><pre>Greetings from Berlin<u></u><u></u></pre><pre>-Stefan Wolf-<u></u><u></u></pre><pre> <u></u><u></u></pre><pre><u></u> <u></u></pre><pre><u></u> <u></u></pre><pre>_______________________________________________<u></u><u></u></pre><pre>postgis-users mailing list<u></u><u></u></pre><pre><a href="mailto:postgis-users@lists.osgeo.org" target="_blank" rel="noreferrer">postgis-users@lists.osgeo.org</a><u></u><u></u></pre><pre><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank" rel="noreferrer">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><u></u><u></u></pre><pre><u></u> <u></u></pre><pre><u></u> <u></u></pre><pre>_______________________________________________<u></u><u></u></pre><pre>postgis-users mailing list<u></u><u></u></pre><pre><a href="mailto:postgis-users@lists.osgeo.org" target="_blank" rel="noreferrer">postgis-users@lists.osgeo.org</a><u></u><u></u></pre><pre><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank" rel="noreferrer">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><u></u><u></u></pre></blockquote><pre>-- <u></u><u></u></pre><pre>Regards,<u></u><u></u></pre><pre><u></u> <u></u></pre><pre>Bo Guo, PhD, PE<u></u><u></u></pre><pre>President<u></u><u></u></pre><pre>Gistic Research, Inc.<u></u><u></u></pre><pre>2033 E Warner Rd Ste 105<u></u><u></u></pre><pre>Tempe, AZ 85284<u></u><u></u></pre><pre><a href="http://www.gisticinc.com" target="_blank" rel="noreferrer">www.gisticinc.com</a><u></u><u></u></pre><pre><a href="http://www.youtube.com/linearbench" target="_blank" rel="noreferrer">www.youtube.com/linearbench</a><u></u><u></u></pre><pre>Office: 480-656-9962<u></u><u></u></pre><pre>Cell: 602-570-4697<u></u><u></u></pre></div></div>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank" rel="noreferrer">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></blockquote></div>