Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap fails to start on Ubuntu 16.04: libudev.so.1: cannot open shared object file #3986

Closed
thomasnordquist opened this issue Jun 20, 2019 · 4 comments
Labels

Comments

@thomasnordquist
Copy link

  • Version: 20.44.1
  • Target: snap

I tested with Ubuntu 18.04 and 16.04, 18.04 runs just fine.

Application crashed on launch with:

/snap/core/6964/usr/lib/snapd/snap-confine: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory

I believe this to be an issue with the snap package size optimization with this pre-release @develar, I would have loved to fix it myself but I can't seem to find the snap templates.
Great work, by the way 👍

Ubuntu 16.04 has still long term support until April 2021, I think it's worth fixing it for 16.04.

May also be a duplicate of #3979

Workaround: downgrade to 20.43.0 and build the snap by hand.

@develar
Copy link
Member

develar commented Jun 20, 2019

No doubt, Ubuntu 16 is fully supported version and I tested (and tests) results on it.

It is your https://github.com/thomasnordquist/MQTT-Explorer/blob/master/package.json project, right (so, you don't have stage packages and any custom)?

Where did you build — OS?

@develar develar added the snap label Jun 20, 2019
@develar
Copy link
Member

develar commented Jun 20, 2019

BTW, have you updated Ubuntu 16 — sudo apt-get update -qq?

@thomasnordquist
Copy link
Author

Building on travis (ubuntu 16.04)
And on my server ubuntu 18.04.

I tested with a ubuntu live-dvd (in VirtualBox).

What do you mean with "(so, you don't have stage packages and any custom)"?

I just removed my repackaging script and try again.

Ill also try sudo apt-get update -qq.

@thomasnordquist
Copy link
Author

After installing ubuntu 16.04 (not using the live-dvd) with the latest packages the issue is resolved.

It appears I still need repackaging for the snapcraft review, I'll update #3608 with details.

Thanks for the fast response, I'd never guessed that a package upgrade would be the solution...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants