With excitement played around with Oracle Linux 8 work station. I had hard time get the Virtualbox guest addition to work.
Keep getting the error kernel-headers are missing even though kernel-headers are installed. So the error is misleading.
sudo -E dnf install kernel-headers
Last metadata expiration check: 0:00:31 ago on Fri 17 May 2019 07:28:54 PM EDT.
Package kernel-headers-4.18.0-32.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Couple of key points. If you are behind proxy and use sudo command make sure use the -E option.
Install kernel-devel &
sudo -E dnf install elfutils-libelf-devel
Rerun guest additions. Works like a charm.
Good luck