<div dir="ltr">Hi Regina<div><br></div><div>I could not load PG_Sphere.</div><div><br></div><div>I have extracted the archive into my PG folder, and restarted PG. Upon create extension, I get "could not load library C:/Program Files/PostgreSQL/17/lib/pg_sphere.dll:; The specified procedure could not be found."</div><div><br></div><div>Any clue?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 9, 2024 at 3:50 PM Gandalf the Gray <<a href="mailto:pjduplooy.gis@gmail.com">pjduplooy.gis@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks Regina.<div><br></div><div>Appreciate it!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 9, 2024 at 3:46 PM Regina Obe <<a href="mailto:lr@pcorp.us" target="_blank">lr@pcorp.us</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11pt">I’ve put the binaries I built here:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><a href="https://winnie.postgis.net/download/windows/pg17/buildbot/extras/" target="_blank">https://winnie.postgis.net/download/windows/pg17/buildbot/extras/</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">As far as compiling under mingw, there isn’t anything special I had to do aside from my usual specifying the postgresql version path.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">So instructions they have assuming you’ve already installed autoconf, gcc++ etc should be sufficient.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">export OS_BUILD=64<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">export PROJECTS=/projects<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">export GCC_TYPE=<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">export PG_VER=17<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">export PGPATH=${PROJECTS}/postgresql/rel/pg${PG_VER}w${OS_BUILD}${GCC_TYPE}<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">export PATH="${PGPATH}/bin:${PGPATH}/lib:${PATH}"<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">make USE_HEALPIX=0<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">make USE_HEALPIX=0 install<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">make installcheck USE_HEALPIX=0<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">I haven’t tried compiling with HEALPIX since that itself when I tried had additional dependencies to compile which I hadn’t gone thru to investigate.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">Let me know if you need further help like setting up your tool chain. <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">Thanks,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">Regina<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><div style="border-top:none;border-right:none;border-bottom:none;border-left:1.5pt solid blue;padding:0in 0in 0in 4pt"><div><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in"><p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> Gandalf the Gray <<a href="mailto:pjduplooy.gis@gmail.com" target="_blank">pjduplooy.gis@gmail.com</a>> <br><b>Sent:</b> Wednesday, October 9, 2024 9:13 AM<br><b>To:</b> Regina Obe <<a href="mailto:lr@pcorp.us" target="_blank">lr@pcorp.us</a>>; <a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br><b>Subject:</b> Re: PG_Sphere<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi Regina. <u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Would it be possible to send me the Mingw build, or to guide me through the build process, as I have MingW setup for Mame.<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Tue, Oct 8, 2024 at 5:00<span style="font-family:Arial,sans-serif"> </span>PM Gandalf the Gray <<a href="mailto:pjduplooy.gis@gmail.com" target="_blank">pjduplooy.gis@gmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><p class="MsoNormal">Thank you Regina!<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Tue, Oct 8, 2024 at 3:59<span style="font-family:Arial,sans-serif"> </span>PM Regina Obe <<a href="mailto:lr@pcorp.us" target="_blank">lr@pcorp.us</a>> wrote:<u></u><u></u></p></div><blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><div><div><p class="MsoNormal"><span style="font-size:11pt">I’m troubleshooting why the PG17 ones I built (and that regressed fine under Mingw) didn’t seem to install under PG17 VC++ build.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11pt">In all cases before, if I was able to get things to compile under MingW they work fine in VC++ builds.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11pt"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11pt">Once I figure that out (whether it’s my fault or something in the pgsphere code), I’ll deploy those binaries.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11pt">BTW once they tag the 1.5.2 (which has the fix to build under mingw64 <a href="https://github.com/postgrespro/pgsphere/pull/123" target="_blank">https://github.com/postgrespro/pgsphere/pull/123</a> ), I’m planning to include it in the PostGIS windows bundles.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11pt"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11pt">Thanks,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11pt">Regina</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11pt"> </span><u></u><u></u></p><div style="border-top:none;border-right:none;border-bottom:none;border-left:1.5pt solid blue;padding:0in 0in 0in 4pt"><div><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in"><p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> Gandalf the Gray <<a href="mailto:pjduplooy.gis@gmail.com" target="_blank">pjduplooy.gis@gmail.com</a>> <br><b>Sent:</b> Tuesday, October 8, 2024 6:42 AM<br><b>To:</b> <a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br><b>Subject:</b> PG_Sphere</span><u></u><u></u></p></div></div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">Hi Regina.<u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Thanks a million for PG_Sphere binaries for Windows!!.<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Any chance of a PG 17 version?<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Pieter<u></u><u></u></p></div></div></div></div></div></div></blockquote></div></blockquote></div></div></div></div></div></blockquote></div>
</blockquote></div>