Skip to content

Codex CLI fails to build with OpenSSL 4.0 #35404

Closed

Description

@loqs

Codex CLI Version

codex HEAD 20dafe2

System information

Arch Linux Rolling

Describe the bug

Codex CLI fails to build against OpenSSL 4.0.

Additional information

Steps to reproduce:

$ git clone https://github.com/openai/codex.git
$ cd codex/codex-rs
$ cargo build --bin codex --bin codex-code-mode-host --bin codex-responses-api-proxy
....
  --- stderr

  thread 'main' (4644) panicked at /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-sys-0.9.111/build/main.rs:472:5:


  This crate is only compatible with OpenSSL (version 1.0.2 through 1.1.1, or 3), or LibreSSL 3.5
  through 4.2.x, but a different version of OpenSSL was found. The build is now aborting
  due to this version mismatch.


  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

@orhun @pierres

Activity

  1. added
    bug
    CLI
    on Jul 25, 2026
  2. loqs commented on Nov 1, 2026

    @loqs
    Author

    Closing: Arch has completed its OpenSSL 4 rebuild for this package via its own updates, without needing an upstream fix. Please reopen if an upstream change is still wanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions