8.49.2. Libelf の構成
              インストールライブラリ: libelf.so
            
            
              インストールディレクトリ: /usr/include/elfutils
            
          Libelf は、ELF(Executable and Linkable Format)形式のファイルを扱うライブラリを提供します。
Libelf は elfutils-0.192 パッケージに含まれます。 ソース tarball として elfutils-0.192.tar.bz2 を利用します。
Libelf をコンパイルするための準備をします。
./configure --prefix=/usr                \
            --disable-debuginfod         \
            --enable-libdebuginfod=dummy
        パッケージをコンパイルします。
make
ビルド結果をテストする場合は以下を実行します。
make check
Libelf のみをインストールします。
make -C libelf install install -vm644 config/libelf.pc /usr/lib/pkgconfig rm /usr/lib/libelf.a