sqlite 当我尝试在我的M1 Mac上添加一些PHP扩展时出现问题

ycl3bljg  于 2023-10-23  发布在  SQLite
关注(0)|答案(1)|浏览(153)

在尝试安装sqlite扩展后,我再也不能在mac上运行php了。我不断得到brew错误。
有人有类似的问题吗?

dyld[58991]: Library not loaded: /opt/homebrew/opt/libavif/lib/libavif.15.dylib
  Referenced from: <87C1A268-34E4-396F-8BBC-D5591064E333> /opt/homebrew/Cellar/gd/2.3.3_5/lib/libgd.3.dylib
  Reason: tried: '/lib/libavif.15.dylib' (no such file), '/libavif.15.dylib' (no such file), '/opt/homebrew/opt/libavif/lib/libavif.15.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/libavif/lib/libavif.15.dylib' (no such file), '/opt/homebrew/opt/libavif/lib/libavif.15.dylib' (no such file), '/usr/local/lib/libavif.15.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/usr/lib/libavif.15.dylib' (no such file, not in dyld cache), '/lib/libavif.15.dylib' (no such file), '/libavif.15.dylib' (no such file), '/opt/homebrew/Cellar/libavif/1.0.1/lib/libavif.15.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libavif/1.0.1/lib/libavif.15.dylib' (no such file), '/opt/homebrew/Cellar/libavif/1.0.1/lib/libavif.15.dylib' (no such file), '/usr/local/lib/libavif.15.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/usr/lib/libavif.15.dylib' (no such file, not in dyld cache)

我遵循其他问题,因为这一个,但没有修复我的pb

9lowa7mx

9lowa7mx1#

要解决此问题,您需要安装或重新安装GD

$ brew install gd

或者如果你已经安装了gd,运行

$ brew reinstall gd

相关问题