2

运行 composer 命令时出现错误,看来我必须更改 icu4c 版本。(目前我需要一个 composer 命令来重新(安装) - composer global require weprovide/valet-plus)但是,当我尝试使用以下步骤更改它时,我得到了错误。

运行 composer 命令时出错(全局):

dyld: Library not loaded: /usr/local/opt/openldap/lib/libldap-2.4.2.dylib
  Referenced from: /usr/local/bin/php
  Reason: image not found
[2]    12103 abort      composer global require weprovide/valet-plus

更改 icu4c 版本的步骤:

$ cd $(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core/Formula
$ git checkout 2a369a82c7f5b3b2ab2704ff0796635514aae955
$ brew reinstall ./icu4c.rb 

重新安装 icu4c.rb 时出错:

Error: Failed to load cask: ./icu4c.rb
Cask 'icu4c' is unreadable: wrong constant name #<Class:0x00007fba9a59e168>
Warning: Treating ./icu4c.rb as a formula.
==> Downloading https://ghcr.io/v2/homebrew/core/icu4c/manifests/67.1
##O#- #                                                                       
curl: (22) The requested URL returned error: 404 
Error: Failed to download resource "icu4c_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/icu4c/manifests/67.1

有谁知道如何解决这个问题?我想一切都需要 67.1 版本才能正常工作。如果您知道任何可能有帮助的信息,请告诉我,在此先感谢!

4

0 回答 0