On Tue, Mar 19, 2013 at 6:18 PM, Petite Abeille <petite.abei...@gmail.com>wrote:

>
> On Mar 19, 2013, at 1:33 PM, D. Richard Hipp <d...@hwaci.com> wrote:
>
> >   http://www.sqlite.org/releaselog/3_7_16.html
>
> • Enhance the spellfix1 extension so that the edit distance cost table can
> be changed at runtime by inserting a string like 'edit_cost_table=TABLE'
> into the "command" field.
>
>
> Is there an example of how to compile & load that spellfix1 extension? On
> Mac OS X possibly?
>
> I have downloaded src/test_spellfix.c, compiled it, and created a shared
> object, as per [1], but when trying to use sqlite> .load I get a
> Segmentation fault: 11.
>
> gcc -bundle -fPIC -Isqlite3 -o spellfix1.so test_spellfix.c
>
>
Try static linking.  Example of how to build a shell that contains
spellfix1:

    www.sqlite.org/src/artifact/a9c34a606e2e52

-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to