Openharmony 编译 openssl 依赖 icu库报错
[OHOS INFO] openssl detecting os now...
[OHOS INFO] current_cpu = x64
[OHOS INFO] current_os = linux
[OHOS INFO] host_os = linux
[OHOS INFO] is_mingw = false
[OHOS INFO] openssl selected linux-x86_64
[OHOS INFO] openssl detecting os done. openssl_selected_platform = linux-x86_64
[OHOS INFO] ERROR at //arkcompiler/ets_runtime/ecmascript/compiler/BUILD.gn:494:7 (//build/toolchain/linux:clang_x64): OHOS innerapi: (shared_icui18n) not found for component (icu).
[OHOS INFO] "icu:shared_icui18n",
[OHOS INFO] ^-------------------
[OHOS INFO] See //build/templates/cxx/cxx.gni:251:3: whence it was called.
[OHOS INFO] executable("${target_name}") {
[OHOS INFO] ^-----------------------------
[OHOS INFO] See //arkcompiler/ets_runtime/ecmascript/compiler/BUILD.gn:456:1: whence it was called.
[OHOS INFO] ohos_executable("ark_stub_compiler") {
[OHOS INFO] ^-------------------------------------
[OHOS INFO] See //arkcompiler/ets_runtime/ecmascript/sdk/BUILD.gn:119:13: which caused the file to be included.
[OHOS INFO] [ "//arkcompiler/ets_runtime/ecmascript/compiler:ark_aot_compiler" ]
[OHOS INFO] ^---------------------------------------------------------------
[OHOS INFO] cmd ['/home/pengyc/OpenHarmony/third_party/openssl/make_openssl_build_all_generated.sh', '/home/pengyc/OpenHarmony/third_party/openssl', '/home/pengyc/OpenHarmony/out/sdk/clang_x64/obj/third_party/openssl/build_all_generated', 'linux-x86_64'] start
[OHOS INFO] result.returncode = 0
[OHOS INFO] result.stdout = /home/pengyc/OpenHarmony/out/sdk
[OHOS INFO] ~/OpenHarmony/out/sdk/clang_x64/obj/third_party/openssl/build_all_generated/linux-x86_64 ~/OpenHarmony/out/sdk
[OHOS INFO] /home/pengyc/OpenHarmony/third_party/openssl/Configure linux-x86_64 no-shared no-module
[OHOS INFO] Configuring OpenSSL version 3.0.9 for target linux-x86_64
[OHOS INFO] Using os-specific seed configuration
[OHOS INFO] Created configdata.pm
[OHOS INFO] Running configdata.pm
[OHOS INFO] Created Makefile.in
[OHOS INFO] Created Makefile
[OHOS INFO] Created include/openssl/configuration.h
[OHOS INFO]
[OHOS INFO] **********************************************************************
[OHOS INFO] *** ***
[OHOS INFO] *** OpenSSL has been successfully configured ***
[OHOS INFO] *** ***
[OHOS INFO] *** If you encounter a problem while building, please open an ***
[OHOS INFO] *** issue on GitHub <https://github.com/openssl/openssl/issues> ***
[OHOS INFO] *** and include the output from the following command: ***
[OHOS INFO] *** ***
[OHOS INFO] *** perl configdata.pm --dump ***
[OHOS INFO] *** ***
[OHOS INFO] *** (If you are new to OpenSSL, you might want to consult the ***
[OHOS INFO] *** 'Troubleshooting' section in the INSTALL.md file first) ***
[OHOS INFO] *** ***
[OHOS INFO] **********************************************************************
[OHOS INFO] ~/OpenHarmony/out/sdk
[OHOS INFO]
[OHOS INFO] cmd ['/home/pengyc/OpenHarmony/third_party/openssl/make_openssl_build_all_generated.sh', '/home/pengyc/OpenHarmony/third_party/openssl', '/home/pengyc/OpenHarmony/out/sdk/clang_x64/obj/third_party/openssl/build_all_generated', 'linux-x86_64'] ok
[OHOS INFO]
[OHOS INFO] end hpm command
[OHOS ERROR] ERROR at //arkcompiler/ets_runtime/ecmascript/compiler/BUILD.gn:494:7 (//build/toolchain/linux:clang_x64): OHOS innerapi: (shared_icui18n) not found for component (icu).
[OHOS ERROR] "icu:shared_icui18n",
[OHOS ERROR] ^-------------------
[OHOS ERROR] See //build/templates/cxx/cxx.gni:251:3: whence it was called.
[OHOS ERROR] executable("${target_name}") {
[OHOS ERROR] ^-----------------------------
[OHOS ERROR] See //arkcompiler/ets_runtime/ecmascript/compiler/BUILD.gn:456:1: whence it was called.
[OHOS ERROR] ohos_executable("ark_stub_compiler") {
[OHOS ERROR] ^-------------------------------------
[OHOS ERROR] See //arkcompiler/ets_runtime/ecmascript/sdk/BUILD.gn:119:13: which caused the file to be included.
[OHOS ERROR] [ "//arkcompiler/ets_runtime/ecmascript/compiler:ark_aot_compiler" ]
[OHOS ERROR] ^---------------------------------------------------------------
[OHOS ERROR] cmd ['/home/pengyc/OpenHarmony/third_party/openssl/make_openssl_build_all_generated.sh', '/home/pengyc/OpenHarmony/third_party/openssl', '/home/pengyc/OpenHarmony/out/sdk/clang_x64/obj/third_party/openssl/build_all_generated', 'linux-x86_64'] start
[OHOS ERROR] result.returncode = 0