glfs/general/prog/patchelf.xml
2024-01-20 10:19:34 -06:00

130 lines
3.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!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;
<!ENTITY patchelf-download-http "https://github.com/NixOS/patchelf/releases/download/&patchelf-version;/patchelf-&patchelf-version;.tar.gz">
<!ENTITY patchelf-download-ftp " ">
<!ENTITY patchelf-md5sum "b02099b0d63f06b3fe370f4edfc0c085">
<!ENTITY patchelf-size "448 KB">
<!ENTITY patchelf-buildsize "20 MB (with tests)">
<!ENTITY patchelf-time "0.1 SBU (with tests)">
]>
<sect1 id="patchelf" xreflabel="patchelf-&patchelf-version;">
<?dbhtml filename="patchelf.html"?>
<title>Patchelf-&patchelf-version;</title>
<indexterm zone="patchelf">
<primary sortas="a-patchelf">patchelf</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Patchelf</title>
<para>
The <application>patchelf</application> package contains a small
utility to modify the dynamic linker and RPATH of ELF executables.
</para>
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&patchelf-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&patchelf-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &patchelf-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &patchelf-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &patchelf-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &patchelf-time;
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of Patchelf</title>
<para>
Install <application>patchelf</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr \
--docdir=/usr/share/doc/patchelf-&patchelf-version; &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, as the &root; user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<seglistitem>
<seg>
patchelf
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="patchelf-prog">
<term><command>patchelf</command></term>
<listitem>
<para>
is a simple utility for modifying existing ELF executables and
libraries; it can change the dynamic loader ("ELF interpreter")
of executables and change the RPATH of executables and
libraries.
</para>
<indexterm zone="patchelf patchelf-prog">
<primary sortas="b-patchelf">patchelf</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>