/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

おすすめ記事