<div dir="ltr">Ben, Vaidotas, <div><br></div><div>thanks for helping me out. The version at <a href="http://smalltalkhub.com/#!/~MilanVavra/SqueakSQLite3" rel="noreferrer" target="_blank" style="font-size:12.8px">http://smalltalkhub.com/#!/~<wbr>MilanVavra/SqueakSQLite3</a></div><div>is working, but only after I added the module: parameter in the api... method definitions in the class, eg.</div><div><br></div><div><cdecl: long 'sqlite3_open' (char* SqliteReference*) <b>module: 'libsqlite3.so.0'</b>></div><div><br></div><div>I found the module: parameter <a href="http://wiki.squeak.org/squeak/2426">http://wiki.squeak.org/squeak/2426</a>. </div><div>Is this new for FFI in Squeak 5, or is there still something wrong with my FFI settings?</div><div><br></div><div>Kind regards, </div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-09 13:08 GMT+00:00 Ben Coman <span dir="ltr"><<a href="mailto:btc@openinworld.com" target="_blank">btc@openinworld.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Feb 9, 2017 at 8:01 PM, Edwin Ancaer <<a href="mailto:eancaer@gmail.com">eancaer@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I would like to use SQLite in a Squeak project. I currently use Squeak 5.1<br>
> on the raspberry Pi.<br>
><br>
>  I found the 'List of SQLite / SQLite3 wrapper implementations' on the<br>
> squeak wiki. The most recent wrapper is NBSQLite3 (2014), but that seems to<br>
> be specific for Pharo.<br>
<br>
</span>Yes. That would be Pharo only.  The NB is NativeBoost which was a<br>
Pharo 4 diversion for a high performance FFI, but was x86 only and<br>
made it harder to collaborate on the VM with Squeak folks.  Pharo 5<br>
FFI returned to the fold to use again the original-FFI & Alien, but<br>
with (IIUC) a layer called Unified FFI so NB syntax translates to<br>
original-FFI backend.<br>
(<a href="http://forum.world.st/UFFI-on-Squeak-td4895679.html" rel="noreferrer" target="_blank">http://forum.world.st/UFFI-<wbr>on-Squeak-td4895679.html</a>)<br>
<span class=""><br>
>  I installed the one before that, SQLite (2013),<br>
> reported as 'might be outdated'.<br>
><br>
> After installation,all tests failed. It must have something to do with the<br>
> FFI settings, because when I add the location of the SQLite.so in the<br>
> module: parameter  off the cdel's of the external functions, there are just<br>
> 2 errors remaining.<br>
><br>
> Before I start looking into this any further, I would like to ask if this<br>
> SQLite wrapper is the correct one to use?<br>
<br>
</span>From a distance, this one from 2016 has potential...<br>
<a href="http://smalltalkhub.com/#!/~MilanVavra/SqueakSQLite3" rel="noreferrer" target="_blank">http://smalltalkhub.com/#!/~<wbr>MilanVavra/SqueakSQLite3</a><br>
<br>
cheers -ben<br>
<br>
</blockquote></div><br></div>