<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <b class="gmail_sendername" dir="auto">Gandalf the Gray</b> <span dir="auto"><<a href="mailto:pjduplooy.gis@gmail.com">pjduplooy.gis@gmail.com</a>></span><br>Date: Fri, Jan 19, 2024 at 7:39 AM<br>Subject: Re: Postgres segfaults on raster query<br>To: Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca">pramsey@cleverelephant.ca</a>><br></div><br><br><div dir="ltr"><div dir="ltr"><div>Hi Paul.</div><div><br></div><div>I may be completely off base here, but MobilityDB requires you to have postgis in preload. From their github:<br></div><div><br></div><div>"You should also set the following in <code>postgresql.conf</code> depending on the version of PostGIS you have installed (below we use PostGIS 3):
<div dir="auto"><pre>shared_preload_libraries = <span><span>'</span>postgis-3<span>'</span></span>
max_locks_per_transaction = 128</pre><div>
</div></div><p dir="auto">If you do not preload the PostGIS library
you will not be able to load the MobilityDB library and will get an
error message such as the following one</p>
<div dir="auto"><pre>ERROR: could not load library <span><span>"</span>/usr/local/pgsql/lib/<a href="http://libMobilityDB-1.0.so" target="_blank">libMobilityDB-1.0.so</a><span>"</span></span>: undefined symbol: ST_Distance"</pre><div>
</div></div>
</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 19, 2024 at 6:26 AM Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca" target="_blank">pramsey@cleverelephant.ca</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">This seems… odd to me? In what context is putting postgis into the preload a requirement?<br>
<br>
P<br>
<br>
> On Jan 18, 2024, at 8:20 PM, Scott <<a href="mailto:public@postholer.com" target="_blank">public@postholer.com</a>> wrote:<br>
> <br>
> Bam!<br>
> <br>
> That was it. Thanks Regina, you rock!<br>
> <br>
> On 1/18/24 20:16, Regina Obe wrote:<br>
>> ALTER SYSTEM SET shared_preload_libraries = 'postgis-3';<br>
<br>
</blockquote></div></div>
</div></div>