加载共享库时出错:libnettle.so.7:无法打开共享对象文件:没有此文件或目录

加载共享库时出错:libnettle.so.7:无法打开共享对象文件:没有此文件或目录

我已将 Ubuntu 20.04 升级到 20.10。不幸的是,当我尝试使用这些命令启动 xen 时:

sudo /etc/init.d/xencommons start
sudo /etc/init.d/xendomains start
sudo /etc/init.d/xen-watchdog start
sudo /etc/init.d/xendriverdomain start

我收到此错误:

Starting /usr/local/sbin/oxenstored...Setting domain 0 name, domid and JSON config...
Done setting up Dom0
Starting xenconsoled...
Starting QEMU as disk backend for dom0
/usr/local/lib/xen/bin/qemu-system-i386: error while loading shared libraries: libnettle.so.7: cannot open shared object file: No such file or directory
* [done]
Starting xen-watchdog (via systemctl): xen-watchdog.service.

Ubuntu 20.04 没有发生这种情况,因此 20.10 删除了一些“过时”的软件包。我尝试重新安装一些与 nettle 组件相关的软件包,但错误并没有消失。有人愿意帮助我吗?谢谢。

答案1

你必须安装包裹经过

sudo apt-get install libnettle7:i386

或手动

cd ~/Downloads
wget http://archive.ubuntu.com/ubuntu/pool/main/n/nettle/libnettle7_3.5.1+really3.5.1-2_i386.deb
sudo apt-get install ./libnettle7_3.5.1+really3.5.1-2_i386.deb

相关内容