Welcome! Log In Create A New Profile

Advanced

[PHP-DEV] What is the reason that sqlite with icu cannot coexist with intl shared under Windows?

Posted by 张 恩江 
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
发件人: 张 恩江 <[email protected]>

发送时间: 2017年8月30日 12:52
收件人: internals@lists.php.net
主题: What is the reason that sqlite with icu cannot coexist with intl shared under Windows?


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
Sorry, only registered users may post in this forum.

Click here to login