libpsl-0.21.2

Introduction to libpsl

The libpsl package provides a library for accessing and resolving information from the Public Suffix List (PSL). The PSL is a set of domain names beyond the standard suffixes, such as .com.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.

Package Information

libpsl Dependencies

Required

libidn2-2.3.4

Optional

GTK-Doc-1.33.2 (for documentation) and Valgrind-3.21.0 (for tests)

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libpsl

Installation of libpsl

Install libpsl by running the following commands:

sed -i 's/env python/&3/' src/psl-make-dafsa              &&
./configure --prefix=/usr --disable-static PYTHON=python3 &&
make

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

sed -i ...: This command forces the use of Python 3 in an utility.

Contents

Installed Program: psl
Installed Library: libpsl.so
Installed Directories: None

Short Descriptions

psl

queries the Public Suffix List

libpsl.so

contains a library used to access the Public Suffix List