Unleash / unleash-edge

MIT License
49 stars 9 forks source link

libssl.so.1.1: cannot open shared object file: No such file or directory #509

Open mraymond opened 2 months ago

mraymond commented 2 months ago

Describe the bug

I'm attempting to set up a unleash-edge within a docker image built on a newer OS(Debian 12.6), and when starting the container, it returns the error /unleash-edge: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Example Dockerfile, with latest binary(19.3.0) in same directory:

FROM debian:12.6

COPY ./ /

ENTRYPOINT ["/unleash-edge"]

Steps to reproduce the bug

  1. Setup Dockerfile using later versions of OSes(Debian 12) and unleash-edge binary in same folder
  2. Run Dockerfile

Expected behavior

Should start up unleash-edge without errors

Logs, error output, etc.

/unleash-edge: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Screenshots

No response

Additional context

No response

Unleash version

19.3.0

Subscription type

Open source

Hosting type

Self-hosted

SDK information (language and version)

No response

chriswk commented 2 months ago

Hi @mraymond - With newer debians, debian uses (libssl 3.0 / openssl 3.0), I think we're still built against libssl 1.1 (openssl 1.1). I'll see if I can't get a build out with openssl 3.0. Thanks for reporting this.

chriswk commented 2 months ago

I'm assuming you downloaded the binary from the repository here, that's still built with openssl 1.1.

I'd probably make a builder using debian 12 as well. I'll make a PR with a new Dockerfile with Openssl 3.0

mraymond commented 2 months ago

Yep, confirming the binaries I was trying were from the releases on Github. Thanks for the future update.