Install libelf-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libelf-dev
Description:
libelf1 development libraries and header files
libelf1 provides a shared library which allows reading and writing of ELF files on a high level. . This package contains development libraries and header files for libelf1.
Homepage: https://sourceware.org/elfutils/
Version: 0.170-0.4
Section: libdevel