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

修改了OpenSSL的版本为1.1.1后启动Demo报错 #579

Open
wxl0357 opened this issue Jul 13, 2023 · 3 comments
Open

修改了OpenSSL的版本为1.1.1后启动Demo报错 #579

wxl0357 opened this issue Jul 13, 2023 · 3 comments
Labels

Comments

@wxl0357
Copy link

wxl0357 commented Jul 13, 2023

Describe the bug
使用mac在执行wecross-demo/build_cross_groups.sh,WeCross-Account-Manager启动出现加密包相关报错,查看文档发现是因为我的OpenSSL的版本过高,我使用的是OpenSSL 3.x版本,但是因为之前配置了相关依赖,我的mac中包含多个OpenSSL的版本,我按照文档要求卸载了所有的OpenSSL版本,随后重装了1.1.1的版本,再启动时发现直接报Library not loaded: /usr/local/opt/openssl@3/lib/libssl.3.dylib,具体报错信息在截图中。

To Reproduce
Steps to reproduce the behavior:

  1. 使用 rm -rf命令删除所有的openssl文件夹
  2. 使用 brew install [email protected] 重新安装1.1版本的openssl
  3. 按照安装提示在 .zshrc文件中配置相应的环境变量
  4. 查询openssl的版本显示为OpenSSL 1.1.1u
  5. 此时再运行 bash build_cross_groups.sh
  6. 报错Library not loaded: /usr/local/opt/openssl@3/lib/libssl.3.dylib

Expected behavior
想知道这种情况应该怎么解决

Screenshots
image

Desktop (please complete the following information):

  • OS: [MACOS]
  • Runtime: [java]
  • Version [openjdk 1.8]

Additional context
Add any other context about the problem here.

@kyonRay
Copy link
Contributor

kyonRay commented Jul 13, 2023

应该是openssl的库已经坏了,查一下homebrew关于卸载openssl的步骤。

@wxl0357
Copy link
Author

wxl0357 commented Jul 13, 2023

非常感谢,已经解决了

@UserWang
Copy link

非常感谢,已经解决了

请问您是怎么解决的

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

No branches or pull requests

3 participants