<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 19, 2014 at 12:59 PM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
DBMI-SQLite driver error:<br>
Error in sqlite3_step():<br>
not authorized<br>
<br>
ERROR: Error while executing: 'SELECT<br>
load_extension('/home/neteler/software/sqlite_extensions/libsqlitefunctions.so')'<br>
Traceback (most recent call last):<br>
...<br>
Process ended with non-zero return code 1. See errors in the (error) output.<br>
<br>
No idea what's disliked here in:<br>
<br>
SELECT load_extension('/home/neteler/software/sqlite_extensions/libsqlitefunctions.so');<br>
UPDATE meuse_voronoi SET logzinc=log(zinc);<br>
<br>
Any hints?</blockquote></div><br></div><div class="gmail_extra">Loading user defined function is not considered completely safe, so it is disabled by default. I think this is not an issue for GRASS GIS.<br><br>You have to enable it somehow. It seems that enable_load_extension() is the way.<br><br></div><div class="gmail_extra">This probably have to go the C code.<br><br></div><div class="gmail_extra">Hope that helps,<br></div><div class="gmail_extra">Vaclav<br><br><a href="https://www.sqlite.org/c3ref/load_extension.html">https://www.sqlite.org/c3ref/load_extension.html</a><br><a href="https://www.sqlite.org/c3ref/enable_load_extension.html">https://www.sqlite.org/c3ref/enable_load_extension.html</a><br><a href="https://www.sqlite.org/loadext.html">https://www.sqlite.org/loadext.html</a><br></div></div>