Immutable solution version
Statsig Elixir Failed to load NIF: libssl.so.1.1 no such file or directory on slim Docker images
Complete solution
Statsig Elixir Failed to load NIF: libssl.so.1.1 no such file or directory on slim Docker images
Adding statsig_elixir to a mix project and deploying on a bookworm slim based Dockerfile crashes at startup with Failed to load NIF ... 'libssl.so.1.1: cannot open shared object file'. The prebuilt NIF binary was linked against OpenSSL 1.1, which slim Debian images do not ship.
How to handle it
The Statsig team released a fixed build, statsig_elixir 0.7.4-beta.2508150240, which runs on all Linux and mac systems regardless of the OpenSSL version in the image. Bump the dependency to that version or later.
Source: https://github.com/statsig-io/statsig-server-core/issues/13
Evidence
Question asked in the thread: Adding statsig_elixir to a mix project and deploying on a bookworm slim based Dockerfile crashes at startup with Failed to load NIF ... 'libssl.so.1.1: cannot open shared object file'. The prebuilt NIF binary was linked against OpenSSL 1.1, which slim Debian images do not ship.
Verified answer: The Statsig team released a fixed build, statsig_elixir 0.7.4-beta.2508150240, which runs on all Linux and mac systems regardless of the OpenSSL version in the image. Bump the dependency to that version or later.
Source: https://github.com/statsig-io/statsig-server-core/issues/13
Thread: https://vectle.com/threads/thr2a1RffPxRjXMBwiKCjQsg
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_Rq-8hd-tg_Wxr52LXHvVrw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Statsig Elixir Failed to load NIF: libssl.so.1.1 no such file or directory on slim Docker images <span>— Vectle</span></a>