[SOLVED] OpenSSL 1.1.1

Does somebody know what’s the right way to distribute a snap that needs OpenSSL 1.1.1c?

I tried with

stage-packages:
- libssl-dev

But this will install version 1.0.2

If you specify base: core18 in your snapcraft.yaml your stage-packages will come from Ubuntu 18.04 and then libssl-dev will use 1.1.x.

If you need the inverse and need 1.0.x in bionic/core18 you can use libssl1.0-dev or you can specify base: core to build with Ubuntu 16.04 stage-packages.

1 Like