所请求的链接库openssl安装了错误的版本 [英] the requested linked library openssl has the wrong version installed
问题描述
我最近运行了作曲家更新,这是我得到的错误:
I recently ran composer update and this is the error I get:
- namshi/jose 5.0.2需要lib-openssl *->所请求的链接库openssl安装了错误的版本或缺少 您的系统,请确保提供扩展名
- namshi/jose 5.0.2 requires lib-openssl * -> the requested linked library openssl has the wrong version installed or is missing from your system, make sure to have the extension providing it
.
我正在使用MAMP.我该如何解决? 我尝试在我的Mac上升级openssl版本,因为一些堆栈溢出的回答说,但是没有运气
I am using MAMP. How may I get this fixed ? I tried upgrading the openssl version on my mac as some stack overflow answers said , but no luck
which openssl
显示
/usr/local/bin/openssl
openssl version
显示
OpenSSL 1.0.2h 3 May 2016
推荐答案
最终结论是UNINSTALL MAMP,然后使用brew安装apache,mysql和php(这花了我不到5分钟的时间就完成了这三个过程). 然后,轻松安装第三方软件包(包括openssl).
The final conclusion was to UNINSTALL MAMP , and then install apache,mysql and php using brew (it took me less than 5 minutes to set up all three). Then installation of 3rd party packages(including openssl) was a breeze.
总的来说,这花了我10分钟,我认为这是值得的.
Overall it took me 10 minutes, and I would say its worth it.
这篇关于所请求的链接库openssl安装了错误的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!