Hello! В сообщении от Friday 01 August 2008 00:49:56 Graeme написал(а): > I apparently successfully compiled the ICU extension with: > > gcc -shared icu.c `icu-config --ldflags` -o libSqliteIcu.so > > but when I try to load it like this (using the TCL API, linux binary from > the site): > > load tclsqlite-3.6.0.so > % sqlite3 db test.db > % db enable_load_extension 1 > % db eval {SELECT load_extension('libSqliteIcu.so')} > > I get: > > error during initialization: > > I am using the Linux binary from the website. > > I found the same problem (with the same extension) mentioned in the mailing > list archives, but with no solution recorded. > > What do I do next?
I was write about this problem but now I'm can compiling ICU. $ gcc -shared icu.c `icu-config --ldflags` -o libSqliteIcu.so $ ls -lh итого 40K -rw-r--r-- 1 veter veter 15K Дек 14 2007 icu.c -rwxr-xr-x 1 veter veter 13K Авг 1 10:19 libSqliteIcu.so -rw-r--r-- 1 veter veter 6,6K Июн 22 2007 README.txt $ sqlite3 :memory: SQLite version 3.5.9 Enter ".help" for instructions sqlite> .load './libSqliteIcu.so' sqlite> SELECT icu_load_collation('ru_RU', 'russian'); sqlite> PRAGMA collation_list; 0|russian 1|NOCASE 2|RTRIM 3|BINARY sqlite> Try to install before libicu-dev libicu38 Best regards, Alexey. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users