/usr/local/sbin/oxenstored:加载共享库时出错:libxenctrl.so.4.14:无法打开共享对象文件:没有这样的文件或目录

/usr/local/sbin/oxenstored:加载共享库时出错:libxenctrl.so.4.14:无法打开共享对象文件:没有这样的文件或目录

我刚刚在 ubuntu 20.10 上从源代码编译了 xen 4.14。编译没有产生错误。但是,当我运行这个命令时:

root@zio-z390aoruspro:/etc/xen# sudo /etc/init.d/xencommons start

这就是发生的事情:

Starting /usr/local/sbin/oxenstored.../usr/local/sbin/oxenstored: error while loading shared libraries: libxenctrl.so.4.14: cannot open shared object file: No such file or directory
Setting domain 0 name, domid and JSON config...

/usr/local/lib/xen/bin/xen-init-dom0: error while loading shared libraries: libxenctrl.so.4.14: cannot open shared object file: No such file or directory

Starting xenconsoled...

/usr/local/sbin/xenconsoled: error while loading shared libraries: libxenctrl.so.4.14: cannot open shared object file: No such file or directory

Starting QEMU as disk backend for dom0

/usr/local/lib/xen/bin/qemu-system-i386: error while loading shared libraries: libxenctrl.so.4.14: cannot open shared object file: No such file or directory

我不知道如何解决它。经过几次尝试,我问在损坏系统之前该怎么做。

答案1

问题解决了:

sudo /sbin/ldconfig -v

相关内容