8.48.2. Contents of Libelf
Installed Library:
libelf.so (symlink) and
libelf-0.187.so
Installed Directory:
/usr/include/elfutils
Libelf is a library for handling ELF (Executable and Linkable Format) files.
Libelf is part of elfutils-0.187 package. Use the elfutils-0.187.tar.bz2 as the source tarball.
Prepare Libelf for compilation:
./configure --prefix=/usr \
--disable-debuginfod \
--enable-libdebuginfod=dummy
Compile the package:
make
To test the results, issue:
make check
One test named run-low_high_pc.sh is
known to fail on 32-bit x86 system.
Install only Libelf:
make -C libelf install install -vm644 config/libelf.pc /usr/lib/pkgconfig rm /usr/lib/libelf.a