The symbol name is sqlite3_icu_init.  When you load module lib<x>.so the symbol 
sqlite3_<x>_init is called.  You need to either (a) rename the shared library 
to the correct name (libicu.so) or pass the name of the init function 
(sqlite3_icu_init) to the loader when you load the module, or (c) change the 
name of the sqlite3_icu_init function in the icu.c source so that it matches 
the name that the module loader is looking for ...

(If you are building your own library from the amalgamation source you can just 
compile the amalgamation with the SQLITE_ENABLE_ICU symbol defined ...)

---
The fact that there's a Highway to Hell but only a Stairway to Heaven says a 
lot about anticipated traffic volume.

>-----Original Message-----
>From: sqlite-users [mailto:sqlite-users-
>[email protected]] On Behalf Of ??
>Sent: Wednesday, 17 October, 2018 22:26
>To: [email protected]
>Subject: [sqlite] Error: dlsym(0x7fa073e02c60,
>sqlite3_sqliteicu_init): symbol not found
>
>I had thought I succeeded in building ICU extension because running
>gcc -shared icu.c `icu-config --ldflags` -o libSqliteIcu.so succeeded
>and libSqliteIcu.so was generated.
>But when I load it I got error Error: dlsym(0x7fa073e02c60,
>sqlite3_sqliteicu_init): symbol not found
>
>
>How do I solve that ? I am using mac 10.13 & sqlite 3.24 btw.
>
>
>Thanks
>
>
>Qiulang
>_______________________________________________
>sqlite-users mailing list
>[email protected]
>http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users



_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to