libdtrace-ctf Required to Install Veeam Agent for Linux on Oracle Linux UEK
KB ID: | 4329 |
Published: | 2022-06-16 |
Last Modified: | 2022-06-16 |
Challenge
When installing Veeam Agent for Linux on Oracle Linux with UEK kernel, the veeamsnap package fails to install with the following error:
Error! Bad return status for module build on kernel: <kernel version> Consult /var/lib/dkms/veeamsnap/<Veeam Agent for Linux version>/build/make.log for more information.
The make.log (example below) will display an error stack referencing libdtrace-ctf.so.1 and LIBDTRACE_CTF:
/var/lib/dkms/veeamsnap/<Veeam Agent for Linux version>/build/make.log
scripts/dwarf2ctf/dwarf2ctf: /usr/lib64/libdtrace-ctf.so.1: version `LIBDTRACE_CTF_1.3' not found (required by scripts/dwarf2ctf/dwarf2ctf)
make[1]: *** [/var/lib/dkms/veeamsnap/_<Veeam Agent for Linux version>_/build/.ctf/build-extmod.stamp] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [modules] Error 2
make: Leaving directory `/usr/src/kernels/<kernel version>'
Cause
This issue occurs because libdtrace-ctf, which is required to build the veeamsnap module, is not installed.
libdtrace-ctf is a dependency of the UEK kernel headers, so normally it should be present if kernel headers are also installed. You can check using this command:
yum deplist kernel-uek-devel
Example output
<...> dependency: libdtrace-ctf >= 1.1.0 provider: libdtrace-ctf.x86_64 1.1.0-2.el7
In some cases, due to package manager or other issues, libdtrace-ctf may not be pulled properly, resulting in the kernel headers be installed but missing libdtrace-ctf.
Solution
yum install libdtrace-ctf
After the libdtrace-ctf package is installed, uninstall and reinstall (online, offline) Veeam Agent for Linux.
Note: If the Oracle Linux machine does not have internet access to install packages, locate the libdtrace-ctf package for your Oracle Linux version on the Oracle Linux repository and install it manually: https://yum.oracle.com
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.