[Newbies] [Solved] Re: SQLite3 'Unable to find function address'

John M McIntosh johnmci at smalltalkconsulting.com
Sat Feb 21 08:48:13 UTC 2009


In order to use a *.framework it has to be installed in the proper  
location for framework type of libraries, otherwise we just for  
various combinations of Unix dll name suffix/prefixes

On 20-Feb-09, at 1:12 AM, Bert Freudenberg wrote:

> 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 at 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 at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>

--
= 
= 
= 
========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================





More information about the Beginners mailing list