Skip to content

Toolbox binary not available for Linux aarch64 architecture. #81

@ntraider

Description

@ntraider

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

Metadata

Metadata

Labels

type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions