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-7.9 platform.

This package is known to build properly using the gcc-6 compiler.

Package Information

libxslt Dependencies





libgcrypt-1.7.3 and Python-2.7.12



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

User Notes:

Installation of libxslt

Install libxslt by running the following commands:

sed -i "/seems to be moved/s/^/#/" &&
./configure --prefix=/usr --disable-static &&

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

sed -i ...: This command silences some meaningless warnings from libtool.

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


Installed Programs: xslt-config and xsltproc
Installed Libraries:, and optionally, Python modules
Installed Directories: /usr/include/libexslt, /usr/include/libxslt, /usr/lib/libxslt-plugins, /usr/share/doc/libxslt-1.1.29, and /usr/share/doc/libxslt-python-1.1.29

Short Descriptions


is used to find out the pre-processor, linking and compiling flags necessary to use the libxslt libraries in 3rd-party programs.


is used to apply XSLT stylesheets to XML documents.

is used to provide extensions to XSLT functions.

provides extensions to the libxml2 libraries to parse files that use the XSLT format.

Last updated on 2016-07-20 23:10:38 -0500