#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 13. Programming

- Prev

  NASM-2.16.03

- Next

  Perl Modules

- Up
- Home

# Patchelf-0.18.0

## Introduction to Patchelf

The patchelf package contains a small utility to modify the dynamic linker and RPATH of ELF executables.

This package is known to build and work properly using an LFS 12.3 platform.

### Package Information

- Download (HTTP): https://github.com/NixOS/patchelf/releases/download/0.18.0/patchelf-0.18.0.tar.gz

- Download MD5 sum: b02099b0d63f06b3fe370f4edfc0c085

- Download size: 448 KB

- Estimated disk space required: 20 MB (with tests)

- Estimated build time: 0.1 SBU (with tests)

## Installation of Patchelf

Install patchelf by running the following commands:

    ./configure --prefix=/usr \
                --docdir=/usr/share/doc/patchelf-0.18.0 &&
    make

To test the results, issue: make check.

Now, as the `root` user:

    make install

## Contents

Installed Program: patchelf

### Short Descriptions

patchelf | 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.

- Prev

  NASM-2.16.03

- Next

  Perl Modules

- Up
- Home