codex-rs does not run on Ubuntu 20.04, requires libssl3
Resolved 💬 3 comments Opened Jun 4, 2025 by rgov Closed Oct 16, 2025
💡 Likely answer: A maintainer (oai-ragona, contributor)
responded on this thread — see the highlighted reply below.
Codex says that it supports Ubuntu 20.04+ but the codex-rs binaries require libssl3, which is not available in the apt repositories.
$ codex
codex: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
$ apt search libssl
libssl1.1/focal-updates,focal-security,now 1.1.1f-1ubuntu2.24 arm64 [installed,automatic]
Secure Sockets Layer toolkit - shared libraries
codex-cli does work under Node 22 from an external apt repository.
3 Comments
Confirmed the pre-built bins are broken on 20.04. Latest
dotslash:Installs fine from source though:
This looks like this has something to do with LD_LIBRARY_PATH or FIPS.
Should be fixed, closing