Preflight Checklist
What's Wrong?
Claude Code v2.1.63 crashes immediately on Alpine Linux (musl libc) with:
Error relocating /home/claude/.local/bin/claude: posix_getdents: symbol not found
Every command fails, including claude --version.
What Should Happen?
Claude Code should start normally on Alpine Linux, as it did with v2.1.62.
Error Messages/Logs
Error relocating /home/claude/.local/bin/claude: posix_getdents: symbol not found
Steps to Reproduce
- Have Claude Code installed on Alpine Linux (musl-based)
- Auto-update to v2.1.63
- Run any command, e.g.
claude --version
- Observe the
posix_getdents: symbol not found error
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.62
Claude Code Version
2.1.63 (broken) / 2.1.62 (Claude Code) (rollback)
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
Installing gcompat (glibc compatibility shim) does not resolve the issue.
posix_getdents is not provided by gcompat either.
The 2.1.63 binary is ~6MB larger than 2.1.62 (225MB vs 219MB), suggesting a
dependency change. posix_getdents is a glibc-specific symbol absent from musl libc.
Workaround: roll back the symlink:
ln -sf ~/.local/share/claude/versions/2.1.62 ~/.local/bin/claude
Preflight Checklist
What's Wrong?
Claude Code v2.1.63 crashes immediately on Alpine Linux (musl libc) with:
Error relocating /home/claude/.local/bin/claude: posix_getdents: symbol not foundEvery command fails, including
claude --version.What Should Happen?
Claude Code should start normally on Alpine Linux, as it did with v2.1.62.
Error Messages/Logs
Steps to Reproduce
claude --versionposix_getdents: symbol not founderrorClaude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.62
Claude Code Version
2.1.63 (broken) / 2.1.62 (Claude Code) (rollback)
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
Installing
gcompat(glibc compatibility shim) does not resolve the issue.posix_getdents is not provided by gcompat either.
The 2.1.63 binary is ~6MB larger than 2.1.62 (225MB vs 219MB), suggesting a
dependency change. posix_getdents is a glibc-specific symbol absent from musl libc.
Workaround: roll back the symlink:
ln -sf ~/.local/share/claude/versions/2.1.62 ~/.local/bin/claude