I am getting an error when starting multipass using latest snapd. This is on Centos 7 platform:
Steps:
- sudo yum install snapd
- sudo systemctl enable --now snapd.socket
- sudo ln -s /var/lib/snapd/snap /snap
~ > sudo snap install multipass
2021-07-19T18:37:23+05:30 INFO Waiting for automatic snapd restart…
multipass 1.7.0 from Canonical\u2713 installed
~ > multipass
/snap/multipass/5078/bin/multipass: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
Can you please help me how to overcome this error?
More info:
~ > uname -a
Linux 3.10.0-1160.31.1.el7.x86_64 #1 SMP Thu Jun 10 13:32:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
~ > sudo snap version
snap 2.51-1.el7
snapd 2.51-1.el7
series 16
centos 7
kernel 3.10.0-1160.31.1.el7.x86_64
~ > sudo snap info multipass
name: multipass
summary: Instant Ubuntu VMs
publisher: Canonical\u2713
store-url: https://snapcraft.io/multipass
contact: https://github.com/CanonicalLtd/multipass/issues/new
license: GPL-3.0
description: |
Multipass is a tool to launch and manage VMs on Windows, Mac and Linux that simulates a cloud
environment with support for cloud-init. Get Ubuntu on-demand with clean integration to your IDE
and version control on your native platform.
Launch an instance (by default you get the current Ubuntu LTS)
multipass launch --name foo
Run commands in that instance, try running bash (logout or ctrl-d to quit)
multipass exec foo -- lsb_release -a
Pass a cloud-init metadata file to an instance on launch
multipass launch -n bar --cloud-init cloud-config.yaml
See your instances
multipass list
Stop and start instances
multipass stop
multipass start
Get help
multipass help
commands:
- multipass.gui
- multipass
services:
multipass.multipassd: simple, enabled, inactive
snap-id: mA11087v6dR3IEcQLgICQVjuvhUUBUKM
tracking: latest/stable
refresh-date: today at 18:50 IST
channels:
latest/stable: 1.7.0 2021-07-19 (5078) 324MB -
latest/candidate: 1.7.0 2021-07-19 (5078) 324MB -
latest/beta: \u2191
latest/edge: 1.7.0-dev.1049+g4a4a7710 2021-07-10 (5048) 324MB -
installed: 1.7.0 (5078) 324MB -