The Linux VM is able to resolve a moduleName of "sqlite3" to "libsqlite3.so". I think the Mac VM also does this, so just using the short form might work. Otherwise the usual way is to use "Smalltalk platformName" to figure out the right name.
- Bert -
On 20.02.2009, at 06:45, aditya siram wrote:
Hi all, The issue was that SQLiteLibrary moduleName was incorrectly set to libsqlite3.framework. Once I set that to 'libsqlite3.so', everything works fine.
Thanks, deech
On Thu, Feb 19, 2009 at 10:29 PM, aditya siram aditya.siram@gmail.com wrote: Hi all, I am not sure if this is the place to ask, but I have installed FFI and the Sqlite3 package, but am unable to use it.
I have a database file 'test.db' in the 'Smalltalk imagePath' location, but the following interaction from a workspace fails. ======================== db := SQLiteConnection fileNamed:'test.db'. db open. ======================== I get an 'Unable to find function address' error.
I have included a screenshot. If this isn't the right forum please point me in the right direction.
Thanks ... Deech
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners