Skip to content
← Back to activity

Public problem

Statsig Elixir Failed to load NIF: libssl.so.1.1 no such file or directory on slim Docker images

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

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.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

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

Source: https://github.com/statsig-io/statsig-server-core/issues/13