libxslt-1.1.33

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 9. General Libraries

- Prev

  libxml2-2.9.9

- Next

  libwacom-0.29

- Up
- Home

# libxslt-1.1.33

## Introduction to libxslt

The libxslt package contains XSLT libraries used for extending `libxml2` libraries to support XSLT files.

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

### Package Information

- Download (HTTP): http://xmlsoft.org/sources/libxslt-1.1.33.tar.gz

- Download (FTP): ftp://xmlsoft.org/libxslt/libxslt-1.1.33.tar.gz

- Download MD5 sum: b3bd254a03e46d58f8ad1e4559cd2c2f

- Download size: 3.3 MB

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

- Estimated build time: 0.3 SBU (with tests)

### Additional Downloads

- Required patch: http://www.linuxfromscratch.org/patches/blfs/9.0/libxslt-1.1.33-security_fix-1.patch

### libxslt Dependencies

#### Required

libxml2-2.9.9

#### Recommended

docbook-xml-4.5 and docbook-xsl-1.79.2

### Note

Although it is not a direct dependency, many applications using libxslt will expect docbook-xml-4.5 and docbook-xsl-1.79.2 to be present.

#### Optional

libgcrypt-1.8.5, libxml2-2.9.9 (for Python2)

### Note

The libxml2-2.9.9 (for Python2) dependency is only appropriate if the Python2 module for this package is needed. The libxslt Python2 module is not needed for any package in BLFS but various packages may install Python2 modules which reference it.

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libxslt

## Installation of libxslt

First, install a security patch to fix a security framework bypass:

    patch -Np1 -i ../libxslt-1.1.33-security_fix-1.patch

Install libxslt by running the following commands:

    sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.{1,xml} &&
    ./configure --prefix=/usr --disable-static                   &&
    make

To test the results, issue: make check.

Now, as the `root` user:

    make install

## Command Explanations

sed -i s/3000/5000/ ...: this increases the recursion limit in libxslt. This is needed by some packages for their documentation.

`--disable-static`: This switch prevents installation of static versions of the libraries.

## Contents

Installed Programs: xslt-config and xsltproc
Installed Libraries: libexslt.so, libxslt.so and optionally, libxsltmod.so Python module
Installed Directories: /usr/include/libexslt, /usr/include/libxslt, /usr/lib/libxslt-plugins, /usr/share/doc/libxslt-1.1.33, and /usr/share/doc/libxslt-python-1.1.33

### Short Descriptions

xslt-config | is used to find out the pre-processor, linking and compiling flags necessary to use the libxslt libraries in 3rd-party programs.
xsltproc | is used to apply XSLT stylesheets to XML documents.
`libexslt.so` | is used to provide extensions to XSLT functions.
`libxslt.so` | provides extensions to the `libxml2` libraries to parse files that use the XSLT format.

Last updated on 2019-08-16 15:28:01 -0700

- Prev

  libxml2-2.9.9

- Next

  libwacom-0.29

- Up
- Home