Hi, I want to load FTS3 dynamically as a module. I compile it from the source with:
gcc -c fts3.c gcc -c fts3_expr.c gcc -c fts3_hash.c gcc -c fts3_icu.c gcc -c fts3_porter.c gcc -c fts3_tokenizer1.c gcc -c fts3_tokenizer.c gcc -shared fts3_expr.o fts3_hash.o fts3_icu.o fts3.o fts3_porter.o \ fts3_tokenizer1.o fts3_tokenizer.o -o libSqliteFts3.so But then loading fails: sqlite> SELECT load_extension('./libSqliteFts3.so'); SQL error: error during initialization: sqlite> Does anybody have a hint? Background: I use Debian with PHP and PDO (php5-sqlite, libsqlite3-0) where FTS is built into the core. But I need a modified FTS: The module should ONLY save the index and not the data. So I modified the source so that the data is not inserted. I can't compile the whole system myself because of the many dependencies. So I want just to compile my own modified FTS3 (see above) and load it dynamically. Thanks in advance, Luke _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users