Hi, Thanks for replying my question. Following are the error I got when compiling sqlite-autoconf-3250100.tar.gz . The error looks similar to this old discussion http://sqlite.1065341.n5.nabble.com/compiling-Sqlite-with-ICU-td40641.html
I am using macOS 10.13 & xcode 10 Undefined symbols for architecture x86_64: "_u_errorName_62", referenced from: _icuFunctionError in sqlite3.o "_u_foldCase_62", referenced from: _icuOpen in sqlite3.o _icuLikeCompare in sqlite3.o "_u_isspace_62", referenced from: _icuNext in sqlite3.o "_u_strToLower_62", referenced from: _icuCaseFunc16 in sqlite3.o "_u_strToUTF8_62", referenced from: _icuNext in sqlite3.o "_u_strToUpper_62", referenced from: _icuCaseFunc16 in sqlite3.o "_ubrk_close_62", referenced from: _icuClose in sqlite3.o "_ubrk_current_62", referenced from: _icuNext in sqlite3.o "_ubrk_first_62", referenced from: _icuOpen in sqlite3.o "_ubrk_next_62", referenced from: _icuNext in sqlite3.o "_ubrk_open_62", referenced from: _icuOpen in sqlite3.o "_ucol_close_62", referenced from: _icuLoadCollation in sqlite3.o _icuCollationDel in sqlite3.o "_ucol_open_62", referenced from: _icuLoadCollation in sqlite3.o "_ucol_strcoll_62", referenced from: _icuCollationColl in sqlite3.o "_uregex_close_62", referenced from: _icuRegexpDelete in sqlite3.o "_uregex_matches_62", referenced from: _icuRegexpFunc in sqlite3.o "_uregex_open_62", referenced from: _icuRegexpFunc in sqlite3.o "_uregex_setText_62", referenced from: _icuRegexpFunc in sqlite3.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [libsqlite3.la] Error 1 在 2018-09-21 17:32:38,"Dan Kennedy" <danielk1...@gmail.com> 写道: >On 09/21/2018 01:38 PM, 邱朗 wrote: >>> >>> I think it could be made to work, or at least, I have experience >>> making it work with CJK based on functionality exposed via ICU. I >>> don't know if the unicode tokenizer uses ICU or if the functionality >>> in ICU that I used is available in the unicode tables. Not >>> understanding any of the languages represented by CJK, I can't say >>> with any confidence how good my solution was, but it seemed to be good >>> enough for the use case of my management and customers in the impacted >>> regions. >>> _______________________________________________ >>> sqlite-users mailing list >>> sqlite-users@mailinglists.sqlite.org >>> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >> >> I am Chinese and I know a little bit of Korean, I can help to test your >> product :D All Jokes aside I also tried to build an ICU SQlite macOS >> version but I failed. All the document I googled seem outdated. e.g. I used >> this (and other solutions) but I just can not build a macOS version. Do you >> have any experience for that ? >> >> >> ./configure CFLAGS="-I/usr/local/opt/icu4c/include -DSQLITE_ENABLE_ICU >> `icu-config --cppflags`" LDFLAGS="-L/usr/local/opt/icu4c/lib `icu-config >> --ldflags`" > >Can you post the complete output of the failed build attempt? Thanks. > >Dan. > _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users