&gt;could not access file &quot;$libdir/liblwgeom&quot;: No such file or directory<br>I had the same error today.<br>Have you reinstall postgis?<br><br>I find something wrong in my postGIS installation.<br>There seemed no error when <br>
-configure<br>-make<br>-make install<br>But when<br>-make check<br>there is fatal error.<br>&gt;&gt;<br>psql: FATAL:&nbsp; permission denied to set parameter &quot;lc_messages&quot;<br>Creating spatial db postgis_reg <br>createdb: could not connect to database template1: FATAL:&nbsp; permission denied to set parameter &quot;lc_messages&quot;<br>
createlang: could not connect to database postgis_reg: FATAL:&nbsp; permission denied to set parameter &quot;lc_messages&quot;<br>psql: FATAL:&nbsp; permission denied to set parameter &quot;lc_messages&quot;<br><br>&nbsp;Something went wrong (no postgis installed in postgis_reg).<br>
&nbsp;For details, check /tmp/pgis_reg_28654/regress_log<br>&lt;&lt;<br><br>Maybe you failed to install postGIS, too.<br><br><br><br><br>&nbsp;---Env-----------------------------------------------<br><div id="mb_0">&nbsp;HOST_OS: debian<br>
&nbsp;PostgreSQL version: 7.4.17<br>&nbsp;PostGIS varsion: 1.3.2<br>&nbsp;-------------------------------------------------------<br><br>-ishi</div>