在Mac上安装openssl-devel [英] install openssl-devel on Mac
本文介绍了在Mac上安装openssl-devel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在Mac上安装openssl-devel.但是我尝试过brew和macport两者.他们都不工作.
I need to install the openssl-devel on Mac. But I've tried brew and macport both. Neither of them work.
我也用谷歌搜索了这个问题-在Mac上安装openssl-devel.但是,我没有找到确切的答案.
And I have also googled this problem--- install openssl-devel on Mac. But, I did not find an exact answer.
有人以前遇到过这种问题吗?
Anyone met this kind of problem before?
推荐答案
此命令解决了我的问题:
this command solve my problem:
brew install openssl@1.1
cp /usr/local/opt/openssl@1.1/lib/pkgconfig/*.pc /usr/local/lib/pkgconfig/
这篇关于在Mac上安装openssl-devel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文