mirror of
https://github.com/sigoden/dufs.git
synced 2026-06-07 15:59:03 +03:00
[GH-ISSUE #711] macOS arm64 环境下的 liblzma.5.dylib 依赖问题 #8818
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @clxcore on GitHub (May 25, 2026).
Original GitHub issue: https://github.com/sigoden/dufs/issues/711
Problem
在 macOS arm64 环境中,直接下载二进制文件安装,会存在依赖路径错误的问题。lzma 库依赖 homebrew 提供的版本,而不是系统提供的版本。
错误如下
可以临时通过命令修复
【建议】在构建时链接系统库,或者尽量采用链接静态库的方式,减少外部依赖,加强适配性。
Log
Environment Information