Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复ICU 库链接icu_data bug #80

Merged
merged 1 commit into from
Mar 20, 2023
Merged

Conversation

jingjingxyk
Copy link
Contributor

@jingjingxyk jingjingxyk commented Mar 18, 2023

问题现象:
image

问题现象重现:

使用编译出来的 swoole-cli

ln -sf /home/jingjingxyk/swoole-cli/bin/swoole-cli  /usr/local/bin/php

composer update 
composer install 

查找问题所在: https://github.com/composer/composer/blob/c23beac9c508b701bb481d1c5269e7a2a79e0b60/src/Composer/Repository/PlatformRepository.php#L336

        $cldrVersion = $this->runtime->invoke(['ResourceBundle', 'create'], ['root', 'ICUDATA', false])->get('Version');

解决方案: https://unicode-org.github.io/icu/userguide/icu_data/#:~:text=Building%20and%20Linking%20against%20ICU%20data

重新编译以后,验证问题,发现问题已解决:

composer update 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants