the requested linked library openssl has the wrong version installed

喜夏-厌秋 提交于 2019-12-22 04:44:06

问题


I recently ran composer update and this is the error I get:

  • 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

.

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 

shows

/usr/local/bin/openssl


openssl version 

shows

OpenSSL 1.0.2h  3 May 2016

回答1:


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.

Overall it took me 10 minutes, and I would say its worth it.



来源:https://stackoverflow.com/questions/37473456/the-requested-linked-library-openssl-has-the-wrong-version-installed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!