[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[b264d67] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY patchelf-download-http "https://github.com/NixOS/patchelf/releases/download/&patchelf-version;/patchelf-&patchelf-version;.tar.gz">
|
---|
| 8 | <!ENTITY patchelf-download-ftp " ">
|
---|
[e7463f96] | 9 | <!ENTITY patchelf-md5sum "b02099b0d63f06b3fe370f4edfc0c085">
|
---|
| 10 | <!ENTITY patchelf-size "448 KB">
|
---|
| 11 | <!ENTITY patchelf-buildsize "20 MB (with tests)">
|
---|
[b264d67] | 12 | <!ENTITY patchelf-time "0.1 SBU (with tests)">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="patchelf" xreflabel="patchelf-&patchelf-version;">
|
---|
| 16 | <?dbhtml filename="patchelf.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Patchelf-&patchelf-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="patchelf">
|
---|
| 22 | <primary sortas="a-patchelf">patchelf</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Patchelf</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | The <application>patchelf</application> package contains a small
|
---|
| 30 | utility to modify the dynamic linker and RPATH of ELF executables.
|
---|
| 31 | </para>
|
---|
| 32 |
|
---|
[fc87c5a0] | 33 | &lfs122_checked;
|
---|
[b264d67] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&patchelf-download-http;"/>
|
---|
| 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&patchelf-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download MD5 sum: &patchelf-md5sum;
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download size: &patchelf-size;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Estimated disk space required: &patchelf-buildsize;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated build time: &patchelf-time;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | <sect2 role="installation">
|
---|
| 72 | <title>Installation of Patchelf</title>
|
---|
| 73 |
|
---|
| 74 | <para>
|
---|
| 75 | Install <application>patchelf</application> by running the following
|
---|
| 76 | commands:
|
---|
| 77 | </para>
|
---|
| 78 |
|
---|
[de1dcce] | 79 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 80 | --docdir=/usr/share/doc/patchelf-&patchelf-version; &&
|
---|
[b264d67] | 81 | make</userinput></screen>
|
---|
| 82 |
|
---|
| 83 | <para>
|
---|
| 84 | To test the results, issue: <command>make check</command>.
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
[de1dcce] | 87 | <para>
|
---|
| 88 | Now, as the &root; user:
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
| 91 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 92 |
|
---|
[b264d67] | 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="content">
|
---|
| 96 | <title>Contents</title>
|
---|
| 97 |
|
---|
| 98 | <segmentedlist>
|
---|
| 99 | <segtitle>Installed Program</segtitle>
|
---|
| 100 |
|
---|
| 101 | <seglistitem>
|
---|
| 102 | <seg>
|
---|
| 103 | patchelf
|
---|
| 104 | </seg>
|
---|
| 105 | </seglistitem>
|
---|
| 106 | </segmentedlist>
|
---|
| 107 |
|
---|
| 108 | <variablelist>
|
---|
| 109 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 110 | <?dbfo list-presentation="list"?>
|
---|
| 111 | <?dbhtml list-presentation="table"?>
|
---|
| 112 |
|
---|
| 113 | <varlistentry id="patchelf-prog">
|
---|
| 114 | <term><command>patchelf</command></term>
|
---|
| 115 | <listitem>
|
---|
| 116 | <para>
|
---|
| 117 | is a simple utility for modifying existing ELF executables and
|
---|
| 118 | libraries; it can change the dynamic loader ("ELF interpreter")
|
---|
| 119 | of executables and change the RPATH of executables and
|
---|
| 120 | libraries.
|
---|
| 121 | </para>
|
---|
| 122 | <indexterm zone="patchelf patchelf-prog">
|
---|
| 123 | <primary sortas="b-patchelf">patchelf</primary>
|
---|
| 124 | </indexterm>
|
---|
| 125 | </listitem>
|
---|
| 126 | </varlistentry>
|
---|
| 127 | </variablelist>
|
---|
| 128 | </sect2>
|
---|
| 129 | </sect1>
|
---|