lfs/chapter06/libelf.xml
Bruce Dubbs 6c672426f8 Clean up of unneeded symbolic links.
Reordered packages so version specific packages are
built as late as possible in Chapter 6. Now building
util-linux in Chapter 5 is unneeded and has been removed.

Update to eudev-3.2.6. 
Update to elfutils-0.174 (libelf). 
Update to psmisc-23.2. 
Update to openssl-1.1.1. 
Update to linux-4.18.9. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11472 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-09-20 17:02:36 +00:00

82 lines
2.0 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
]>
<sect1 id="ch-system-libelf" role="wrap">
<?dbhtml filename="libelf.html"?>
<sect1info condition="script">
<productname>libelf</productname>
<productnumber>&elfutils-version;</productnumber>
<address>&elfutils-url;</address>
</sect1info>
<title>Libelf from Elfutils-&elfutils-version;</title>
<indexterm zone="ch-system-libelf">
<primary sortas="a-Libelf">Libelf</primary>
</indexterm>
<sect2 role="package">
<title/>
<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</title>
<para>Libelf is part of elfutils-&elfutils-version; package. Use
the elfutils-&elfutils-version;.tar.bz2 as the source tarball.</para>
<para>Prepare Libelf for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
<para>To test the results, issue:</para>
<screen><userinput remap="test">make check</userinput></screen>
<para>Install only Libelf:</para>
<screen><userinput remap="install">make -C libelf install
install -vm644 config/libelf.pc /usr/lib/pkgconfig</userinput></screen>
</sect2>
<sect2 id="contents-elfutils" role="content">
<title>Contents of Libelf</title>
<segmentedlist>
<segtitle>Installed Library</segtitle>
<seglistitem>
<seg>
libelf.so
</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>