%general-entities; ]> libelf &elfutils-version;
&elfutils-url;
Libelf &elfutils-version; Libelf <para>Libelf is a library for handling ELF (Executable and Linkable Format) files.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&elfutils-ch6-sbu;</seg> <seg>&elfutils-ch6-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Libelf Libelf is part of elfutils-&elfutils-version; package. Use the elfutils-&elfutils-version;.tar.xz as the source tarball. First, fix a file to be compatible with gcc-8" sed -e '/ALIGN_PRSTATUS)/{ s/__attribute/attribute_packed &/ s/packed, //}' \ -i backends/linux-core-note.c Prepare Libelf for compilation: ./configure --prefix=/usr Compile the package: make To test the results, issue make check. Install only Libelf: make -C libelf install install -vm644 config/libelf.pc /usr/lib/pkgconfig Contents of Libelf Installed Library libelf.so