8.50.2. Contents of Libelf
Installed library:
libelf.so
Installed directory:
/usr/include/elfutils
Libelf is a library for handling ELF (Executable and Linkable Format) files.
Libelf is part of the elfutils-0.191 package. Use the elfutils-0.191.tar.bz2 file 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
Eight tests are known to fail due to incomplete MIPS support.
Install only Libelf:
make -C libelf install install -vm644 config/libelf.pc /usr/lib/pkgconfig rm /usr/lib/libelf.a