我正在尝试安装 VirtualBox 以下本教程。我已经完成了所有步骤,但是在尝试运行时:
/usr/lib/virtualbox/vboxdrv.sh setup
我得到以下输出:
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.
/var/log/vbox-install.log
包含:
make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.16.16-200.fc27.x86_64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j8 modules
make[1]: warning: -jN forced in submake: disabling jobserver mode.
Makefile:978: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel". Stop.
make: *** [/tmp/vbox.0/Makefile.include.footer:101: vboxdrv] Error 2
所以我一直在尝试运行dnf install elfutils-libelf-devel
,但它已经安装了:
Last metadata expiration check: 0:17:07 ago on Tue 26 Jun 2018 04:01:55 PM CEST.
Package elfutils-libelf-devel-0.170-10.fc27.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
你们中有人已经遇到过这个问题或者知道如何解决它吗?多谢你们 !
编辑:我注意到确保elfutils-libelf-devel
来自正确的存储库可能很有趣,因此输出dnf info elfutils-libelf-devel
是:
Last metadata expiration check: 0:04:41 ago on Wed 04 Jul 2018 05:50:14 PM CEST.
Installed Packages
Name : elfutils-libelf-devel
Version : 0.170
Release : 10.fc27
Arch : i686
Size : 32 k
Source : elfutils-0.170-10.fc27.src.rpm
Repo : @System
From repo : updates
Summary : Development support for libelf
URL : http://elfutils.org/
License : GPLv2+ or LGPLv3+
Description : The elfutils-libelf-devel package contains the
: libraries to create applications for handling
: compiled objects. libelf allows you to access the
: internals of the ELF object file format, so you
: can see the different sections of an ELF file.
Name : elfutils-libelf-devel
Version : 0.170
Release : 10.fc27
Arch : x86_64
Size : 32 k
Source : elfutils-0.170-10.fc27.src.rpm
Repo : @System
From repo : updates
Summary : Development support for libelf
URL : http://elfutils.org/
License : GPLv2+ or LGPLv3+
Description : The elfutils-libelf-devel package contains the
: libraries to create applications for handling
: compiled objects. libelf allows you to access the
: internals of the ELF object file format, so you
: can see the different sections of an ELF file.