Pinned musl version causes codex to fail to start

Resolved 💬 6 comments Opened Nov 4, 2025 by illgitthat Closed Nov 4, 2025

What version of Codex is running?

0.54.0

What subscription do you have?

using azure provider

Which model were you using?

gpt-5-codex

What platform is your computer?

Windows 11 - Running via Ubuntu on WSL

What issue are you seeing?

https://github.com/openai/codex/issues/6116 introduced a regression for me. Now I am no longer able to run the codex executable on WSL.

Error:

adam@DESKTOP1:~/..$ npm --version
11.6.2
adam@DESKTOP1:~/..$ npm list -g @openai/codex
/home/adam/.nvm/versions/node/v20.17.0/lib
└── @openai/codex@0.54.0

adam@DESKTOP1:~/..$ ls /home/adam/.nvm/versions/node/v20.17.0/lib/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl/
codex  path
adam@DESKTOP1:~/..$ ls /home/adam/.nvm/versions/node/v20.17.0/lib/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl/codex
codex
adam@DESKTOP1:~/..$ npm uninstall -g @openai/codex
npm install -g @openai/codex

removed 1 package in 150ms

added 1 package in 2s
adam@DESKTOP1:~/..$ codex
Error: spawn /home/adam/.nvm/versions/node/v20.17.0/lib/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl/codex/codex ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn /home/adam/.nvm/versions/node/v20.17.0/lib/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl/codex/codex',
  path: '/home/adam/.nvm/versions/node/v20.17.0/lib/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl/codex/codex',
  spawnargs: []
}

What steps can reproduce the bug?

Install on WSL, try to run codex.

Additional information

Related to: issue https://github.com/openai/codex/issues/6116

Bug introduced via https://github.com/openai/codex/pull/6189

FYI @dylan-hurd-oai @etraut-openai

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗