I’m working on a Vagrant snap (https://github.com/snapcrafters/vagrant) and hitting this error when building on Bionic. Any ideas on how to get around this?
The linker version '2.23' used by the base 'core' is incompatible with files in this snap:
Some people here would tell you to install LXD and build with
What worked well for me was to switch from the normal core snap to the core18 snap by using this line in
@joedborg You can use
multipass to build
core18 snaps locally.
$ snap install snapcraft --edge --classic
$ snap install multipass --edge --classic
$ export SNAPCRAFT_BUILD_ENVIRONMENT=multipass
$ cd mysnapproject
It is also possible to configure Launchpad to build using core18 if you want to automate builds.
Thanks @Wimpress, It seems that adding
base: core18 works fine (do you foresee an issue?)
I’ve corrected some stage packages and the snap seems to work fine on my Ubuntu 18.04 machine, with VirtualBox provider. I’ll look into plugins such as AWS in due course. If others could test too, that’d be great.
I’ll look into making this strict confinement, but that will involve also snapping all the providers (e.g. VirtualBox).
Any progress on this. It pops up as a snap that’s been setup but not fully published in one of our daily bots. It’s annoying me daily, so I thought I’d transfer that annoyance to you