Flutter环境问题:OpenSSL support explicitly requested but OpenSSL could not be found

最近有同学说在mac上无法安装* libimobiledevice*,会抛出以下异常:

checking for openssl >= 0.9.8... no
configure: error: OpenSSL support explicitly requested but OpenSSL could not be found

READ THIS: https://docs.brew.sh/Troubleshooting

试了很多姿势都不行,最后我找到了一种方式:

brew install gnutls
brew install libgcrypt
./autogen.sh --disable-openssl
make
make install
    原文作者:JarvanMo
    原文地址: https://www.jianshu.com/p/9194cf450ff0
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞