What is the reason that sqlite with icu cannot coexist with intl shared under Windows?
| From: | 张 恩江 | Date: | Wed, 30 Aug 2017 04:52:30 +0000 |
| Subject: | What is the reason that sqlite with icu cannot coexist with intl shared under Windows? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-100327@lists.php.net to get a copy of this message | ||
I tried to compile sqlite3 extension with icu for php, but found a comment in
ext/pdo_sqlite/config.m4, that is "As long as intl is not shared we can have ICU support".
When i tried to compile intl to statical, and found another comment in ext/intl/config.w32, that is
"always build as shared - zend_strtod.c/ICU type conflict".
I don't know where the conflict is, can this problem be fixed? Is the sqlite extension in php
not support icu?
Expect any replies, Thank you very much!
The snippet in ext/pdo_sqlite/config.m4:
if test "$PHP_INTL" = "yes" && test "$PHP_INTL_SHARED" !=
"yes"; then
other_flags="$other_flags -DSQLITE_ENABLE_ICU=1"
fi