gemini-cli-extensions / gemini-cli-extensions/postgres

Toolbox binary not available for Linux aarch64 architecture.

Open
#81 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: p2 type: feature request
Dominant language
No language data
Stars
97
Forks
12
Avg merge
1d 13h
Merged PRs (30d)
2

Description

Pre-reqs
  • I've searched the current open issues
  • I've updated to the latest versions
Extension Version

0.2.1

Gemini CLI Version

0.26.0

Environment

Linux vm-ubuntu24dev 6.14.0-37-generic #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 21 03:10:52 UTC 2 aarch64 aarch64 aarch64 GNU/Linux

Current Behavior

I am using Gemini CLI on a Ubuntu VM on a Macbook M3 (ARM). The toolbox binary that gets installed for this extension on my ARM-based Linux VM is for x86-64 architecture. This gives the following message on startup:

Error during discovery for MCP server 'postgresql': MCP error -32000: Connection closed

Expected Behavior

I would expect that the aarch64 version of the binary to be installed. Also, the error message given is incorrect making this harder to determine the actual cause. I would expect the message to match closer what the repo documentation says:

either:

MCP ERROR: Error: spawn /Users/USER/.gemini/extensions/postgres/toolbox ENOENT": The Toolbox binary did not download correctly. Ensure you are using Gemini CLI v0.6.0+.

or

"cannot execute binary file": The Toolbox binary did not download correctly. Ensure the correct binary for your OS/Architecture has been downloaded.

Steps to reproduce?
  1. Using an ARM version of Linux, install Gemini CLI from a terminal.
  2. Install postgres extension via: $ gemini extensions install https://github.com/gemini-cli-extensions/postgres
  3. Check the 'toolbox' binary via: $ file ~/.gemini/extensions/postgres/toolbox
Additional Details

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the installation on Linux aarch64 with the documented Gemini CLI extension command, then inspect the installed toolbox using the file command. Trace how the extension selects or downloads the binary. Done means the aarch64 binary is installed and the startup failure reports the documented architecture or download problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, postgresql
Domain
cli, databases, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.