libidn2-2.3.8

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 4. Networking

- Prev

  libunistring-1.4.1

- Next

  libpsl-0.21.5

- Up
- Home

# libidn2-2.3.8

## Introduction to libidn2

libidn2 is a package designed for internationalized string handling based on standards from the Internet Engineering Task Force (IETF)'s IDN working group, designed for internationalized domain names.

- Download: https://ftpmirror.gnu.org/gnu/libidn/libidn2-2.3.8.tar.gz

### libidn2 Dependencies

Recommended
libunistring-1.4.1

## Installation of libidn2

Install libidn2 by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

Now, as the `root` user:

    make install

## lib32 Installation of lib32-libidn2

Install lib32-libidn2 by running the following commands:

    make distclean &&
    CC="gcc -m32" CXX="g++ -m32"         \
    PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
    ./configure --prefix=/usr            \
                --libdir=/usr/lib32      \
                --host=i686-pc-linux-gnu \
                --disable-static &&

    make

Now as the `root` user:

    make DESTDIR=$PWD/DESTDIR install     &&
    cp -vr DESTDIR/usr/lib32/* /usr/lib32 &&
    rm -rf DESTDIR                        &&
    ldconfig

## Command Explanations

### Note

Run ./configure --help for a full list of options.

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

## Contents

Installed Program: idn2
Installed Library: libidn2
Installed Directory: None

### Short Descriptions

idn2 | is a command line interface to the internationalized domain library
`libidn2` | contains a generic Stringprep implementation used for internationalized string handling

- Prev

  libunistring-1.4.1

- Next

  libpsl-0.21.5

- Up
- Home