Michel,

Maybe you should consider using a link instead of a copy of the file.
I would also suggest to only add a link within to the sqlite installation 
directory rather than the pharo directory. Because then pharo will find 
sqlite3.so as well and you have way fewer dependencies.

Joachim

Michel <michel.reves...@wanadoo.fr> schrieb:

>Hi Joachim,
>
>I have a sqlite library in /usr/lib named 'libsqlite3.so.0.8.6'. This 
>directory is of course in the path.
>
>I made a copy of this library in my pharo2.0/bin directory and changed 
>its name to 'libsqlite3.so' and it fixed the problem !
>
>So I got it thanks to your help and a little luck. Depending on the 
>linux distro this library name would differ. Somebody knows where it is 
>defined in the image ?
>
>Regards,
>Michel.
>
>> Hi Michel,
>>
>> I am neither a Pharo nor a sqlite expert, but I would guess the sqlite 
>> library is not in your image directory or you are starting pharo 
>> without setting the PATH to a location that contains the sqlite library.
>>
>> HTH,
>>
>> Joachim
>>
>> Am 20.11.13 18:13, schrieb Michel:
>>> Hi pharoers,
>>>
>>> I am a newbie with Pharo.
>>>
>>> I installed the SQLite3 package in the Pharo2 image with the 
>>> MetacelloConfigurationBrowser and tried a test with this script :
>>> db := SQLiteConnection fileNamed: '/home/michel/base_CD/BaseCD.db'.
>>> resu := db executeQuery: 'SELECT * FROM T_album'.
>>> resu inspect.
>>>
>>> And I got this error : External module not found.
>>>
>>> I am on Fedora linux and I think that I should give somewhere (in 
>>> SQLiteReference class ?) the address of the libsqlite3.so file. Am I 
>>> right ?
>>>
>>> Kind Regards,
>>> Michel.
>>>
>>>
>>
>>
>
>
>

Reply via email to