Run
sqlite3> select load_extension('YOUR FULL PATH HERE/half.so');
dark0s dark0s <[EMAIL PROTECTED]> wrote: Ok, I build sqlite3 with load
extension support, now I must execute extension:
#gcc -shared half.c -o half.so
#export LD_LIBRARY_PATH='pwd'
#sqlite3
sqlite>.load half.so
half.so: cannot
I suggest you read this :
http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
may-be it can help.
Reminder : doing ordinary things as root is dangerous.
Regards,
Didier
Le Friday 11 April 2008 07:36:52 dark0s dark0s, vous avez écrit :
> Ok, I build sqlite3 with load extension su
Ok, I build sqlite3 with load extension support, now I must execute extension:
#gcc -shared half.c -o half.so
#export LD_LIBRARY_PATH='pwd'
#sqlite3
sqlite>.load half.so
half.so: cannot open shared file object: no such file or directory
but
#ls
half.c half.so
Where is the problem now?
Savio
3 matches
Mail list logo