Skip to content

[BUG] Fedora: brew apm fails on Git clone due to bundled OpenSSL mismatch #462

@tomjo

Description

@tomjo

Describe the bug
On Fedora, Homebrew apm fails to clone GitHub repos with an OpenSSL ABI mismatch. The error is reported as auth failure, but the real cause is the bundled OpenSSL in apm being older than what system libcurl requires (OPENSSL_3.2.0).

To Reproduce
Steps to reproduce the behavior:

  1. Run command 'apm install ComposioHQ/awesome-claude-skills/skill-creator'
  2. When logged in via 'gh auth'
  3. See error: libssl.so.3: version 'OPENSSL_3.2.0' not found (required by /lib64/libcurl.so.4) and git-remote-https aborts

Expected behavior
Repository clone succeeds (auth already configured via gh), and package installs.

Environment (please complete the following information):

  • OS: Fedora 43 (6.18.13-200.fc43.x86_64)
  • Python Version: 3.14.3
  • APM Version: 0.8.4 (a69fc93)
  • Homebrew Version: 5.1.1
  • git Version: 2.53.0
  • OpenSSL Version: 3.5.4

Logs

 detailed auth diagnostics. Last error: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --depth=1 -- https://github.com/ComposioHQ/awesome-claude-skills /tmp/tmpkdva8ybw/repo_clone
  stderr: 'Cloning into '/tmp/tmpkdva8ybw/repo_clone'...
/usr/libexec/git-core/git-remote-https: /home/linuxbrew/.linuxbrew/Cellar/apm/0.8.4/libexec/_internal/libssl.so.3: version `OPENSSL_3.2.0' not found (required by 
/lib64/libcurl.so.4)
fatal: remote helper 'https' aborted session
'
    └─ ComposioHQ/awesome-claude-skills/skill-creator -- Failed to install github.com/ComposioHQ/awesome-claude-skills/skill-creator: Failed to clone repository: 
Failed to clone repository ComposioHQ/awesome-claude-skills using all available methods. Authentication failed for clone on github.com.
No token available.
Set GITHUB_APM_PAT or GITHUB_TOKEN, or run 'gh auth login'.
If packages span multiple organizations, set per-org tokens: GITHUB_APM_PAT_COMPOSIOHQ
Run with --verbose for detailed auth diagnostics. Last error: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --depth=1 -- https://github.com/ComposioHQ/awesome-claude-skills /tmp/tmpqn78aops/repo_clone
  stderr: 'Cloning into '/tmp/tmpqn78aops/repo_clone'...
/usr/libexec/git-core/git-remote-https: /home/linuxbrew/.linuxbrew/Cellar/apm/0.8.4/libexec/_internal/libssl.so.3: version `OPENSSL_3.2.0' not found (required by 
/lib64/libcurl.so.4)
fatal: remote helper 'https' aborted session
'

[x] Installation failed with 2 error(s).

Additional context
Bundled OpenSSL in apm conflicts with Fedora's libcurl requirement, perhaps on linux OpenSSL should not be bundled?

Workaround available
Renaming these makes APM use the system openssl

mv "$(brew --prefix apm)/libexec/_internal/libssl.so.3" "$(brew --prefix apm)/libexec/_internal/libssl.so.3.bak"
mv "$(brew --prefix apm)/libexec/_internal/libcrypto.so.3" "$(brew --prefix apm)/libexec/_internal/libcrypto.so.3.bak"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDeprecated: use type/bug. Kept for issue history; will be removed in milestone 0.10.0.needs-triageDeprecated: use status/needs-triage. Kept for issue history; will be removed in milestone 0.10.0.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions