Skip to content

docker/run.sh: fix omp-server failing to start due to missing libraries - #1263

Merged
AmyrAhmady merged 1 commit into
openmultiplayer:masterfrom
vincenzocorso:fix/docker-run-missing-libraries
Sep 28, 2026
Merged

AmyrAhmady merged 1 commit into
openmultiplayer:masterfrom
vincenzocorso:fix/docker-run-missing-libraries

Conversation

@vincenzocorso

@vincenzocorso vincenzocorso commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #1262

omp-server is a 32-bit binary, but docker/run_ubuntu-22.04/Dockerfile only installed the i386 build of libstdc++6. It was missing the i386 builds of libatomic1 and libssl3, which the binary also links against at runtime. This made the container fail to start with:

/opt/open.mp/omp-server: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

Adding libatomic1:i386 fixes that error, but the server then fails the same way on libssl.so.3, since libssl3 was only installed for amd64 (needed by wget, openssl and libssl-dev, which stay on amd64). Installing libssl3:i386 as well resolves that too.

With both packages installed, the container starts cleanly and the server runs.

@AmyrAhmady
AmyrAhmady merged commit b6de2f2 into openmultiplayer:master Sep 28, 2026
15 checks passed
@AmyrAhmady

Copy link
Copy Markdown
Member

Thank you for your contribution

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

omp-server fails to start when running with docker: libatomic.so.1 missing

2 participants