<#20327 Unable to run ./scie-pants-macos-aarch64 f...
# github-notifications
c
#20327 Unable to run ./scie-pants-macos-aarch64 from a clean macOS install on Apple Silicon Issue created by charlietsai Describe the bug On a clean install of macOS Ventura 13.6.2, either download
./scie-pants-macos-aarch64
or install via
get-pants.sh
, then running
./scie-pants-macos-aarch64
or
pants
, we get:
Copy code
dyld[69639]: Library not loaded: /opt/homebrew/opt/xz/lib/liblzma.5.dylib
  Referenced from: <2077079D-7541-3421-8EEB-DB3F2CC8F35C> /Users/ctsai/.local/bin/pants
  Reason: tried: '/opt/homebrew/opt/xz/lib/liblzma.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/xz/lib/liblzma.5.dylib' (no such file), '/opt/homebrew/opt/xz/lib/liblzma.5.dylib' (no such file)
[1]    69639 abort      pants
It looks like
xz
is a required dependency but it's not mentioned. Installing via
brew
resolves this:
Copy code
/opt/homebrew/bin/brew install xz
Given
scie-pants
is supposed to be standalone, I would have expected to be able to use it directly without having to install something else.
brew
doesn't seem like a hard requirement? It looks like most people don't encounter this issue because
xz
is pulled in by other packages often installed via
brew
. Pants version Following the install instructions from v2.18 OS macOS Ventura 13.6.2, Additional info N/A pantsbuild/pants