gpt4 book ai didi

macos - OSX 上的 Lib-OpenSSL 依赖问题 Laravel 和 Composer

转载 作者:行者123 更新时间:2023-12-03 23:08:35 26 4
gpt4 key购买 nike

我的问题

简而言之,当我运行 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
  • 最佳答案

    http://www.farces.com/wikis/naked-server/php/php-openssl/
    按照上面链接中的步骤操作,它将解决问题

    关于macos - OSX 上的 Lib-OpenSSL 依赖问题 Laravel 和 Composer,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37534271/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com