【发布时间】:2016-09-28 18:59:50
【问题描述】:
我的问题
简而言之,当我运行composer update 时,我收到以下错误:
Problem 1
- tymon/jwt-auth 0.5.4 requires namshi/jose 5.0.* -> satisfiable by namshi/jose[5.0.0, 5.0.1, 5.0.2].
- tymon/jwt-auth 0.5.5 requires namshi/jose 5.0.* -> satisfiable by namshi/jose[5.0.0, 5.0.1, 5.0.2].
- tymon/jwt-auth 0.5.6 requires namshi/jose 5.0.* -> satisfiable by namshi/jose[5.0.0, 5.0.1, 5.0.2].
- tymon/jwt-auth 0.5.7 requires namshi/jose 5.0.* -> satisfiable by namshi/jose[5.0.0, 5.0.1, 5.0.2].
- tymon/jwt-auth 0.5.8 requires namshi/jose 5.0.* -> satisfiable by namshi/jose[5.0.0, 5.0.1, 5.0.2].
- tymon/jwt-auth 0.5.9 requires namshi/jose 5.0.* -> satisfiable by namshi/jose[5.0.0, 5.0.1, 5.0.2].
- tymon/jwt-auth 0.5.1 requires namshi/jose 2.2.* -> satisfiable by namshi/jose[2.2.0, 2.2.1, 2.2.2].
- tymon/jwt-auth 0.5.2 requires namshi/jose 2.2.* -> satisfiable by namshi/jose[2.2.0, 2.2.1, 2.2.2].
- tymon/jwt-auth 0.5.3 requires namshi/jose 2.2.* -> satisfiable by namshi/jose[2.2.0, 2.2.1, 2.2.2].
- tymon/jwt-auth 0.5.0 requires namshi/jose 2.0.* -> satisfiable by namshi/jose[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- 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.
- namshi/jose 5.0.1 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.
- namshi/jose 5.0.0 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.
- namshi/jose 2.2.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.
- namshi/jose 2.2.1 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.
- namshi/jose 2.2.0 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.
- namshi/jose 2.0.3 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.
- namshi/jose 2.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.
- namshi/jose 2.0.1 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.
- namshi/jose 2.0.0 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.
- Installation request for tymon/jwt-auth 0.5.* -> satisfiable by tymon/jwt-auth[0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.5.7, 0.5.8, 0.5.9].
附加信息
我非常不确定这个问题的原因,因为我无法确定它何时出现。我所知道的是它在过去的几天里一直在工作,也许今天更早......
我今天所做的一些事情可能导致了这种情况:
- 我安装并配置了 supervisord
- 我安装并配置了 beanstalkd
- 我安装了最新的 Mac OSX 更新(更多信息:https://support.apple.com/en-gb/HT206230)
以上所有可能与此完全无关,可能纯属巧合
我尝试过的
我忘记了我尝试过的事情的数量,但这里有一些:
- 将
"tymon/jwt-auth": "0.5.*"的版本更改为最新的 alpha 版本(这可行,但我在执行 JWT-Auth 时遇到了问题)所以我不得不恢复 - 我花了很长时间研究每个依赖项的版本,虽然这些版本确实会不可避免地更改错误消息,但它们仍然无法解决问题
- 我使用
brew upgrade openssl升级到了最新版本的openssl。但是,这并没有更新 PHP 中的 openssl,因为我正在使用 MAMP(我认为),并且我无法控制使用哪个版本的 openssl PHP 编译...
我的研究
我花了几个小时搜索各种网站,尝试各种事情并探索许多许多潜在的解决方案,但没有任何东西可以为我解决这个问题。以下是我找到的一些网站/页面:
- laravel composer install could not solve installable package for tymon/jwt-auth
- OSX - Composer - lib-openssl requirements
- the requested linked library openssl has the wrong version installed
- https://laracasts.com/discuss/channels/general-discussion/the-requested-linked-library-openssl-has-the-wrong-version-installed
- http://www.litphp.info/the_requested_linked_library_openssl_has_the_wrong_version_installed
【问题讨论】:
标签: macos laravel openssl composer-php jwt