Skip to content

Failed to initialize OpenTUI render library #28756

@karneaud

Description

@karneaud

Description

When trying to start the opencode docker instance

docker run -it --rm -p 4096:4096 -w /home/root/workspace -v "$(pwd)":/home/root/workspace ghcr.io/anomalyco/opencode --print-logs --log-level=DEBUG /home/root/workspace

I encountered the below error

Failed to open library "/tmp/.7efdfe6675dd9c42-00000001.so": Error relocating /tmp/.7efdfe6675dd9c42-00000001.so: getcontext: symbol not found process error

the logs...

INFO  2026-05-22T01:54:32 +1388ms service=default version=1.15.7 args=["--print-logs","--log-level=DEBUG","/home/root/workspace"] process_role=main run_id=bc23c50d-654e-4185-9882-05f5dafd78b0 opencode
Performing one time database migration, may take a few minutes...
INFO  2026-05-22T01:54:32 +53ms service=db path=/root/.local/share/opencode/opencode.db opening database
INFO  2026-05-22T01:54:32 +14ms service=db count=20 mode=bundled applying migrations
INFO  2026-05-22T01:54:32 +56ms service=json-migration storage directory does not exist, skipping migration
Database migration complete.
ERROR 2026-05-22T01:54:33 +1400ms service=default e=Failed to initialize OpenTUI render library: Failed to open library "/tmp/.7efdfe6675dd9c42-00000001.so": Error relocating /tmp/.7efdfe6675dd9c42-00000001.so: getcontext: symbol not found rejection
ERROR 2026-05-22T01:54:33 +1ms service=default error=Failed to initialize OpenTUI render library: Failed to open library "/tmp/.7efdfe6675dd9c42-00000001.so": Error relocating /tmp/.7efdfe6675dd9c42-00000001.so: getcontext: symbol not found process error

Plugins

No response

OpenCode version

1.15.7

Steps to reproduce

  1. Run docker command docker run -it --rm -p 4096:4096 -w /home/root/workspace -v "$(pwd)":/home/root/workspace ghcr.io/anomalyco/opencode --print-logs --log-level=DEBUG /home/root/workspace

Screenshot and/or share link

No response

Operating System

ARM64 Linux

Terminal

Windows Terminal

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions